-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NTP Next] Add updated NTP with background support
- Loading branch information
1 parent
89750d5
commit fc65e01
Showing
75 changed files
with
3,316 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright (c) 2024 The Brave Authors. All rights reserved. | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
import("//brave/components/ntp_background_images/buildflags/buildflags.gni") | ||
|
||
assert(!is_android) | ||
assert(enable_custom_background) | ||
|
||
source_set("brave_new_tab") { | ||
sources = [ | ||
"custom_image_chooser.cc", | ||
"custom_image_chooser.h", | ||
"new_tab_page_handler.cc", | ||
"new_tab_page_handler.h", | ||
"new_tab_page_ui.cc", | ||
"new_tab_page_ui.h", | ||
"update_observer.cc", | ||
"update_observer.h", | ||
] | ||
|
||
deps = [ | ||
"//brave/browser:browser_process", | ||
"//brave/browser/ntp_background", | ||
"//brave/components/brave_new_tab", | ||
"//brave/components/brave_new_tab:mojom", | ||
"//brave/components/brave_new_tab/resources:generated_resources", | ||
"//brave/components/l10n/common", | ||
"//brave/components/ntp_background_images/browser", | ||
"//brave/components/ntp_background_images/common", | ||
"//brave/components/resources:static_resources", | ||
"//brave/components/resources:strings", | ||
"//chrome/app:generated_resources", | ||
"//chrome/browser:browser_public_dependencies", | ||
"//chrome/browser/profiles:profile", | ||
"//chrome/browser/themes", | ||
"//chrome/browser/ui/webui:webui_util", | ||
"//components/prefs", | ||
"//components/strings:components_strings", | ||
"//ui/base", | ||
"//ui/shell_dialogs", | ||
"//ui/webui", | ||
] | ||
} |
Oops, something went wrong.