-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b37a0fe
commit 084692d
Showing
142 changed files
with
10,652 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2025 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/common/typescript.gni") | ||
import("//mojo/public/tools/bindings/mojom.gni") | ||
|
||
assert(!is_android) | ||
|
||
transpile_web_ui("resources") { | ||
entry_points = [ [ | ||
"new_tab", | ||
rebase_path("new_tab_page.tsx"), | ||
] ] | ||
resource_name = "brave_new_tab" | ||
output_module = true | ||
deps = [ | ||
"//brave/browser/ui/webui/brave_new_tab:mojom_js", | ||
"//brave/components/brave_rewards/core/mojom:webui_js", | ||
"//brave/components/brave_vpn/common/mojom:mojom_js", | ||
] | ||
} | ||
|
||
pack_web_resources("generated_resources") { | ||
resource_name = "brave_new_tab" | ||
output_dir = "$root_gen_dir/brave/browser/resources/brave_new_tab" | ||
deps = [ ":resources" ] | ||
} |
42 changes: 42 additions & 0 deletions
42
browser/resources/brave_new_tab/assets/favorites_active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions
42
browser/resources/brave_new_tab/assets/favorites_active_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.