Compare commits

...

15 Commits

Author SHA1 Message Date
wukko 364ce99eaf revision: bump to 8 2025-05-18 18:44:42 +06:00
wukko aef6a463d5 extras: update onboarding 2025-05-18 18:44:29 +06:00
wukko 5fee4a7145 resources/branding: replace more skia product icons 2025-05-18 18:09:00 +06:00
wukko 55efa2111f resources: move helium skia icons to resources 2025-05-18 18:07:57 +06:00
wukko 49373d155b resources/branding: optimize product logo svg 2025-05-18 17:56:39 +06:00
wukko bb5af0c7b1 helium/ui/app-menu: remove obnoxious bg from default browser prompt 2025-05-18 17:56:24 +06:00
wukko af5539abf7 helium/ui/settings: clean up product info footer on about page
& merge other tiny patch into this one cuz it just makes sense
2025-05-18 17:14:50 +06:00
wukko a3db74b428 helium/ui/cr-components: fix segmented button border & size
now it doesn't stick out of its bounds, making it align perfectly with all other items in the "customize chrome" side panel
2025-05-18 16:34:20 +06:00
wukko 14d7bbb71b helium/ui/layout-provider: make side panel content radius 12dp 2025-05-18 12:02:15 +06:00
wukko 5607b15249 helium/ui/sidepanels: fix card widths, paddings, and radius
also made the search bar in bookmarks bar of appropriate radius
2025-05-18 12:01:52 +06:00
wukko 64ec07beb7 helium/ui/sidepanels: fix button order, header padding, and update icons 2025-05-18 11:33:52 +06:00
wukko 38a114d48d helium/ui/cr-components: fix focus ring on custom theme color picker 2025-05-18 11:31:57 +06:00
wukko 08f481a314 helium/ui/cr-components: fix segmented button option radius 2025-05-18 08:53:07 +06:00
jj cde40a97f0 helium/ui/bangs: add appropriate text and icons for ai chatbots 2025-05-17 21:59:42 +00:00
jj 0dae50b2f0 helium/bangs: add support for categories 2025-05-17 21:59:42 +00:00
15 changed files with 591 additions and 215 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ sha256 = cd954c7257f126be871f79ecf8fff143425708d5d33501d0ba870fa466dafbe7
output_path = ./components/resources/default_100_percent/search_engine_choice
[onboarding]
version = 202505121619
version = 202505161829
url = https://github.com/imputnet/helium-onboarding/releases/download/%(version)s/helium-onboarding-%(version)s.tar.gz
download_filename = onboarding-page-%(version)s.tar.gz
sha256 = 48e0a8e4a9ecbfd28e0ba3366c9f4d1035878e4f9085751571510be73d85994d
sha256 = 1a78757d1e28b6865e87ca8e7df8b06bd3ffed5dde838690776e6daadf6cb99d
output_path = ./components/helium_onboarding
+37 -4
View File
@@ -267,7 +267,7 @@
// This closure is run when the default search provider is set to Google.
--- /dev/null
+++ b/components/search_engines/template_url_bang_manager.cc
@@ -0,0 +1,174 @@
@@ -0,0 +1,197 @@
+// Copyright 2025 The Helium Authors
+// You can use, redistribute, and/or modify this source code under
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
@@ -277,6 +277,7 @@
+#include <memory>
+#include <string>
+#include <vector>
+#include <map>
+
+#include "base/functional/bind.h"
+#include "base/functional/callback.h"
@@ -316,8 +317,25 @@
+
+BangManager* BangManager::GetInstance() {
+ return base::Singleton<
+ BangManager,
+ base::DefaultSingletonTraits<BangManager>>::get();
+ BangManager,
+ base::DefaultSingletonTraits<BangManager>
+ >::get();
+}
+
+BangCategory BangManager::GetCategoryForBang(size_t index) const {
+ if (auto category = category_map_.find(index - 1); category != category_map_.end()) {
+ return category->second;
+ }
+
+ return BANG_CATEGORY_OTHER;
+}
+
+BangCategory BangManager::GetCategoryFromJSONObject(std::string_view sc) const {
+ if (sc == "ai") {
+ return BANG_CATEGORY_AI;
+ }
+
+ return BANG_CATEGORY_OTHER;
+}
+
+void BangManager::LoadBangs(
@@ -421,6 +439,11 @@
+ continue;
+ }
+
+ auto bcategory = dict.FindString("sc");
+ if (bcategory) {
+ category_map_[index] = GetCategoryFromJSONObject(*bcategory);
+ }
+
+ // We need to pass the URL here as-is, because otherwise URLs
+ // which have the template in the path will have it %-encoded,
+ // which will break everything.
@@ -444,7 +467,7 @@
+
--- /dev/null
+++ b/components/search_engines/template_url_bang_manager.h
@@ -0,0 +1,65 @@
@@ -0,0 +1,75 @@
+// Copyright 2025 The Helium Authors
+// You can use, redistribute, and/or modify this source code under
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
@@ -455,6 +478,7 @@
+#include <memory>
+#include <string>
+#include <vector>
+#include <map>
+
+#include "base/memory/weak_ptr.h"
+#include "base/functional/callback.h"
@@ -474,6 +498,11 @@
+ std::string template_url;
+ };
+
+ enum BangCategory {
+ BANG_CATEGORY_OTHER = 0,
+ BANG_CATEGORY_AI,
+ };
+
+ class BangManager {
+ public:
+ static BangManager* GetInstance();
@@ -482,6 +511,8 @@
+ BangManager(const BangManager&) = delete;
+ BangManager& operator=(const BangManager&) = delete;
+
+ BangCategory GetCategoryForBang(size_t index) const;
+
+ void LoadBangs(
+ scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
+ PrefService& prefs,
@@ -496,6 +527,7 @@
+ );
+ void OnSimpleLoaderComplete(std::unique_ptr<std::string> response_body);
+ void LoadManifestFromString(const std::string& manifest);
+ BangCategory GetCategoryFromJSONObject(std::string_view sc) const;
+
+ // Weak factory for callbacks.
+ base::WeakPtrFactory<BangManager> weak_ptr_factory_{this};
@@ -505,6 +537,7 @@
+ std::vector<Bang> bangs_;
+ bool load_pending_;
+ std::vector<base::OnceClosure> callbacks_;
+ std::map<size_t, BangCategory> category_map_;
+ };
+}
+
@@ -1,6 +1,18 @@
--- a/chrome/browser/resources/settings/about_page/about_page.html
+++ b/chrome/browser/resources/settings/about_page/about_page.html
@@ -47,7 +47,7 @@
@@ -5,10 +5,7 @@
.info-sections {
padding: var(--cr-section-vertical-padding) var(--cr-section-padding);
- }
-
- .info-section {
- margin-bottom: 12px;
+ line-height: 1.8;
}
.product-title {
@@ -47,7 +44,7 @@
</style>
<settings-section page-title="$i18n{aboutPageTitle}" section="about">
<div class="cr-row two-line first">
@@ -9,3 +21,11 @@
srcset="chrome://theme/current-channel-logo@1x 1x,
chrome://theme/current-channel-logo@2x 2x"
alt="$i18n{aboutProductLogoAlt}"
@@ -145,7 +142,6 @@
<settings-section>
<div class="info-sections">
<div class="info-section">
- <div class="secondary">$i18n{aboutProductTitle}</div>
<div class="secondary">$i18n{aboutProductCopyright}</div>
</div>
+9
View File
@@ -18,3 +18,12 @@
item->set_vertical_margin(vertical_margin);
item->SetMenuItemBackground(MenuItemView::MenuItemBackground(
background_color_id, kBackgroundCornerRadius));
@@ -1471,7 +1471,7 @@ void AppMenu::PopulateMenu(MenuItemView*
case IDC_SET_BROWSER_AS_DEFAULT: {
// Only highlight the default browser item when it is first in the
// AppMenu.
- if (i == 0) {
+ if ((false)) {
add_menu_row_background(
views::LayoutProvider::Get()->GetDistanceMetric(
views::DISTANCE_CONTROL_VERTICAL_TEXT_PADDING),
+218
View File
@@ -0,0 +1,218 @@
--- a/components/vector_icons/chat_spark.icon
+++ b/components/vector_icons/chat_spark.icon
@@ -30,19 +30,4 @@ R_V_LINE_TO, 4.51,
R_CUBIC_TO, 0, 0.41, -0.15, 0.76, -0.45, 1.06,
ARC_TO, 1.45, 1.45, 0, 0, 1, 16.5, 15,
H_LINE_TO, 5,
-CLOSE,
-R_MOVE_TO, 3, -6,
-R_V_LINE_TO, -1.5,
-R_H_LINE_TO, 8,
-V_LINE_TO, 12,
-CLOSE,
-R_MOVE_TO, 0, -2.75,
-R_V_LINE_TO, -1.5,
-R_H_LINE_TO, 7,
-R_V_LINE_TO, 1.5,
-CLOSE,
-MOVE_TO, 5, 6.5,
-V_LINE_TO, 5,
-R_H_LINE_TO, 4,
-R_V_LINE_TO, 1.5,
CLOSE
--- a/chrome/browser/ui/views/BUILD.gn
+++ b/chrome/browser/ui/views/BUILD.gn
@@ -34,6 +34,7 @@ component("views") {
"//components/keep_alive_registry",
"//components/lens",
"//components/lens:buildflags",
+ "//components/search_engines",
"//components/vector_icons",
"//content/public/browser",
"//printing/buildflags",
--- a/components/omnibox/browser/autocomplete_controller.h
+++ b/components/omnibox/browser/autocomplete_controller.h
@@ -34,6 +34,7 @@
#include "components/omnibox/browser/omnibox_log.h"
#include "components/omnibox/browser/open_tab_provider.h"
#include "components/optimization_guide/machine_learning_tflite_buildflags.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "third_party/omnibox_proto/types.pb.h"
class ClipboardProvider;
@@ -529,6 +530,8 @@ class AutocompleteController : public Au
// A list of all providers.
Providers providers_;
+ raw_ptr<Bangs::BangManager> bang_manager_ = Bangs::BangManager::GetInstance();
+
raw_ptr<BookmarkProvider> bookmark_provider_;
raw_ptr<HistoryQuickProvider> history_quick_provider_;
--- a/components/omnibox/browser/autocomplete_controller.cc
+++ b/components/omnibox/browser/autocomplete_controller.cc
@@ -87,6 +87,7 @@
#include "components/optimization_guide/machine_learning_tflite_buildflags.h"
#include "components/search_engines/search_engine_type.h"
#include "components/search_engines/template_url.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "components/search_engines/template_url_service.h"
#include "components/search_engines/template_url_starter_pack_data.h"
#include "components/strings/grit/components_strings.h"
@@ -1766,7 +1767,21 @@ void AutocompleteController::UpdateKeywo
// name -- don't assume that the normal search keyword description
// is applicable.
i->description = template_url->AdjustedShortNameForLocaleDirection();
- if (template_url->type() != TemplateURL::OMNIBOX_API_EXTENSION) {
+ if (template_url->bang_id() > 0) {
+ int description_template = -1;
+
+ switch (bang_manager_->GetCategoryForBang(template_url->bang_id())) {
+ case Bangs::BANG_CATEGORY_AI:
+ description_template = IDS_OMNIBOX_SELECTED_KEYWORD_ASK_TEXT;
+ break;
+ default:
+ description_template = IDS_AUTOCOMPLETE_SEARCH_DESCRIPTION;
+ break;
+ }
+
+ i->description = l10n_util::GetStringFUTF16(
+ description_template, i->description);
+ } else if (template_url->type() != TemplateURL::OMNIBOX_API_EXTENSION) {
i->description = l10n_util::GetStringFUTF16(
IDS_AUTOCOMPLETE_SEARCH_DESCRIPTION, i->description);
}
--- a/components/omnibox/browser/keyword_provider.h
+++ b/components/omnibox/browser/keyword_provider.h
@@ -22,6 +22,7 @@
#include "components/omnibox/browser/autocomplete_input.h"
#include "components/omnibox/browser/autocomplete_provider.h"
#include "components/omnibox/browser/keyword_extensions_delegate.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "third_party/metrics_proto/omnibox_input_type.pb.h"
class AutocompleteProviderClient;
@@ -118,6 +119,8 @@ class KeywordProvider : public Autocompl
// Model for the keywords.
raw_ptr<TemplateURLService, DanglingUntriaged> model_;
+ const raw_ptr<Bangs::BangManager> bang_manager_ = Bangs::BangManager::GetInstance();
+
// Delegate to handle the extensions-only logic for KeywordProvider.
// NULL when extensions are not enabled. May be NULL for tests.
std::unique_ptr<KeywordExtensionsDelegate> extensions_delegate_;
--- a/components/omnibox/browser/keyword_provider.cc
+++ b/components/omnibox/browser/keyword_provider.cc
@@ -24,6 +24,7 @@
#include "components/omnibox/browser/search_provider.h"
#include "components/omnibox/common/omnibox_feature_configs.h"
#include "components/search_engines/template_url.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "components/search_engines/template_url_service.h"
#include "components/search_engines/template_url_starter_pack_data.h"
#include "components/strings/grit/components_strings.h"
@@ -421,9 +422,20 @@ void KeywordProvider::FillInURLAndConten
if (element_ref.SupportsReplacement(
GetTemplateURLService()->search_terms_data()) &&
(element->type() != TemplateURL::OMNIBOX_API_EXTENSION)) {
+
+ int empty_id = IDS_EMPTY_KEYWORD_VALUE;
+ if (element->bang_id() > 0) {
+ switch (bang_manager_->GetCategoryForBang(element->bang_id())) {
+ case Bangs::BANG_CATEGORY_AI:
+ empty_id = IDS_STARTER_PACK_PAGE_EMPTY_QUERY_MATCH_TEXT;
+ break;
+ default:
+ break;
+ }
+ }
// No query input; return a generic, no-destination placeholder.
match->contents.assign(
- l10n_util::GetStringUTF16(IDS_EMPTY_KEYWORD_VALUE));
+ l10n_util::GetStringUTF16(empty_id));
match->contents_class.emplace_back(0, ACMatchClassification::DIM);
} else {
// Keyword or extension that has no replacement text (aka a shorthand for
--- a/chrome/browser/ui/views/location_bar/selected_keyword_view.h
+++ b/chrome/browser/ui/views/location_bar/selected_keyword_view.h
@@ -9,6 +9,7 @@
#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/controls/label.h"
@@ -72,6 +73,8 @@ class SelectedKeywordView : public IconL
// May be nullptr in tests.
const raw_ptr<Profile> profile_;
+ const raw_ptr<Bangs::BangManager> bang_manager_ = Bangs::BangManager::GetInstance();
+
// The keyword we're showing. If empty, no keyword is selected.
// NOTE: we don't cache the TemplateURL as it is possible for it to get
// deleted out from under us.
--- a/chrome/browser/ui/views/location_bar/selected_keyword_view.cc
+++ b/chrome/browser/ui/views/location_bar/selected_keyword_view.cc
@@ -15,6 +15,7 @@
#include "components/omnibox/browser/vector_icons.h"
#include "components/search_engines/template_url_service.h"
#include "components/search_engines/template_url_starter_pack_data.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/accessibility/ax_enums.mojom.h"
@@ -113,6 +114,15 @@ void SelectedKeywordView::SetCustomImage
if (template_url &&
template_url->starter_pack_id() == TemplateURLStarterPackData::kGemini) {
vector_icon = &omnibox::kSparkIcon;
+
+ } else if (template_url && template_url->bang_id() > 0) {
+ switch (bang_manager_->GetCategoryForBang(template_url->bang_id())) {
+ case Bangs::BANG_CATEGORY_AI:
+ vector_icon = &vector_icons::kChatSparkIcon;
+ break;
+ default:
+ break;
+ }
} else if (history_embeddings::IsHistoryEmbeddingsEnabledForProfile(
profile_) &&
history_embeddings::GetFeatureParameters().omnibox_scoped &&
--- a/chrome/browser/ui/views/omnibox/omnibox_suggestion_button_row_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_suggestion_button_row_view.cc
@@ -23,6 +23,7 @@
#include "components/omnibox/browser/omnibox_edit_model.h"
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/omnibox/browser/vector_icons.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
@@ -345,6 +346,27 @@ void OmniboxSuggestionButtonRowView::Upd
const auto names = SelectedKeywordView::GetKeywordLabelNames(
keyword,
popup_view_->controller()->client()->GetTemplateURLService());
+
+ const gfx::VectorIcon* icon = &vector_icons::kSearchChromeRefreshIcon;
+
+ if (AutocompleteMatch* associated_keyword = match().associated_keyword.get();
+ associated_keyword != nullptr) {
+ TemplateURL* turl = associated_keyword->GetTemplateURL(
+ popup_view_->controller()->client()->GetTemplateURLService(),
+ false
+ );
+ auto* bang_manager = Bangs::BangManager::GetInstance();
+
+ switch (bang_manager->GetCategoryForBang(turl ? turl->bang_id() : 0)) {
+ case Bangs::BANG_CATEGORY_AI:
+ icon = &vector_icons::kChatSparkIcon;
+ break;
+ default:
+ break;
+ }
+ }
+
+ keyword_button_->SetIcon(*icon);
keyword_button_->SetText(names.full_name);
keyword_button_->GetViewAccessibility().SetName(
l10n_util::GetStringFUTF16(IDS_ACC_KEYWORD_MODE, names.short_name));
-145
View File
@@ -1,148 +1,3 @@
--- a/chrome/app/vector_icons/browser_logo.icon
+++ b/chrome/app/vector_icons/browser_logo.icon
@@ -1,46 +1,26 @@
-// Copyright 2023 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+// Copyright 2025 The Helium Authors
+// You can use, redistribute, and/or modify this source code under
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
-CANVAS_DIMENSIONS, 16,
-MOVE_TO, 5.5, 8.02,
-R_CUBIC_TO, 0, 0.7, 0.24, 1.29, 0.73, 1.77,
-R_ARC_TO, 2.41, 2.41, 0, 0, 0, 1.77, 0.73,
-R_CUBIC_TO, 0.7, 0, 1.29, -0.24, 1.77, -0.73,
-R_ARC_TO, 2.41, 2.41, 0, 0, 0, 0.73, -1.77,
-R_CUBIC_TO, 0, -0.69, -0.24, -1.28, -0.73, -1.77,
-ARC_TO, 2.41, 2.41, 0, 0, 0, 8, 5.52,
-R_CUBIC_TO, -0.69, 0, -1.28, 0.24, -1.77, 0.73,
-R_ARC_TO, 2.41, 2.41, 0, 0, 0, -0.73, 1.77,
+CANVAS_DIMENSIONS, 56,
+FILL_RULE_NONZERO,
+MOVE_TO, 26, 51,
+R_ARC_TO, 1, 1, 0, 0, 0, 4, 0,
+V_LINE_TO, 5,
+ARC_TO, 1, 1, 0, 0, 0, 26, 5,
CLOSE,
-MOVE_TO, 8, 11.77,
-R_CUBIC_TO, 0.13, 0, 0.25, 0, 0.39, -0.01,
-R_CUBIC_TO, 0.14, -0.01, 0.26, -0.03, 0.39, -0.06,
-LINE_TO, 7.09, 14.59,
-R_CUBIC_TO, -1.66, -0.18, -3.03, -0.9, -4.11, -2.16,
-R_CUBIC_TO, -1.08, -1.26, -1.62, -2.73, -1.62, -4.41,
-R_ARC_TO, 6.54, 6.54, 0, 0, 1, 0.66, -2.86,
-R_LINE_TO, 2.77, 4.73,
-R_CUBIC_TO, 0.33, 0.59, 0.77, 1.05, 1.35, 1.38,
-R_CUBIC_TO, 0.58, 0.33, 1.2, 0.5, 1.87, 0.5,
+MOVE_TO, 9, 6,
+ARC_TO, 1, 1, 0, 0, 0, 6, 9,
+LINE_TO, 47, 50,
+R_ARC_TO, 1, 1, 0, 0, 0, 3, -3,
CLOSE,
-MOVE_TO, 8, 4.27,
-R_CUBIC_TO, -0.82, 0, -1.55, 0.24, -2.19, 0.73,
-ARC_TO, 3.79, 3.79, 0, 0, 0, 4.46, 6.87,
-LINE_TO, 2.77, 3.94,
-R_ARC_TO, 6.2, 6.2, 0, 0, 1, 2.29, -1.9,
-ARC_TO, 6.64, 6.64, 0, 0, 1, 8, 1.38,
-R_CUBIC_TO, 1.09, 0, 2.13, 0.26, 3.09, 0.77,
-R_ARC_TO, 6.72, 6.72, 0, 0, 1, 2.38, 2.12,
+MOVE_TO, 5, 26,
+R_ARC_TO, 1, 1, 0, 0, 0, 0, 4,
+H_LINE_TO, 51,
+R_ARC_TO, 1, 1, 0, 0, 0, 0, -4,
CLOSE,
-R_MOVE_TO, 6.16, 1.25,
-R_CUBIC_TO, 0.17, 0.41, 0.3, 0.82, 0.37, 1.23,
-R_CUBIC_TO, 0.08, 0.42, 0.12, 0.84, 0.12, 1.27,
-R_CUBIC_TO, 0, 1.79, -0.58, 3.29, -1.73, 4.5,
-R_CUBIC_TO, -1.15, 1.22, -2.62, 1.93, -4.41, 2.12,
-R_LINE_TO, 2.71, -4.75,
-R_CUBIC_TO, 0.16, -0.29, 0.29, -0.59, 0.38, -0.9,
-R_ARC_TO, 3.34, 3.34, 0, 0, 0, 0.14, -0.97,
-R_CUBIC_TO, 0, -0.46, -0.09, -0.91, -0.26, -1.34,
-R_ARC_TO, 4.12, 4.12, 0, 0, 0, -0.71, -1.16,
+MOVE_TO, 6, 47,
+R_ARC_TO, 1, 1, 0, 0, 0, 3, 3,
+LINE_TO, 50, 9,
+ARC_TO, 1, 1, 0, 0, 0, 47, 6,
CLOSE
--- a/components/omnibox/browser/vector_icons/product_chrome_refresh.icon
+++ b/components/omnibox/browser/vector_icons/product_chrome_refresh.icon
@@ -1,51 +1,26 @@
-// Copyright 2023 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+// Copyright 2025 The Helium Authors
+// You can use, redistribute, and/or modify this source code under
+// the terms of the GPL-3.0 license that can be found in the LICENSE file.
-CANVAS_DIMENSIONS, 15,
-MOVE_TO, 4.92, 7.5,
-R_CUBIC_TO, 0, 0.71, 0.25, 1.31, 0.76, 1.82,
-R_CUBIC_TO, 0.51, 0.51, 1.12, 0.76, 1.82, 0.76,
-R_CUBIC_TO, 0.7, 0, 1.31, -0.25, 1.82, -0.76,
-R_CUBIC_TO, 0.51, -0.51, 0.76, -1.12, 0.76, -1.82,
-R_CUBIC_TO, 0, -0.7, -0.25, -1.31, -0.76, -1.82,
-R_ARC_TO, 2.49, 2.49, 0, 0, 0, -1.82, -0.76,
-R_CUBIC_TO, -0.7, 0, -1.31, 0.25, -1.82, 0.76,
-R_ARC_TO, 2.49, 2.49, 0, 0, 0, -0.76, 1.82,
+CANVAS_DIMENSIONS, 56,
+FILL_RULE_NONZERO,
+MOVE_TO, 26, 51,
+R_ARC_TO, 1, 1, 0, 0, 0, 4, 0,
+V_LINE_TO, 5,
+ARC_TO, 1, 1, 0, 0, 0, 26, 5,
CLOSE,
-MOVE_TO, 7.5, 11.48,
-R_CUBIC_TO, 0.14, 0, 0.28, 0, 0.41, -0.02,
-R_CUBIC_TO, 0.13, -0.01, 0.26, -0.04, 0.39, -0.07,
-LINE_TO, 6.77, 14.06,
-R_CUBIC_TO, -1.65, -0.19, -3.04, -0.89, -4.15, -2.12,
-CUBIC_TO, 1.5, 10.71, 0.94, 9.24, 0.94, 7.55,
-R_CUBIC_TO, 0, -0.46, 0.05, -0.9, 0.13, -1.33,
-R_CUBIC_TO, 0.08, -0.44, 0.22, -0.85, 0.39, -1.25,
-R_LINE_TO, 2.63, 4.55,
-R_CUBIC_TO, 0.34, 0.59, 0.81, 1.07, 1.41, 1.43,
-R_CUBIC_TO, 0.6, 0.36, 1.26, 0.54, 2.01, 0.54,
+MOVE_TO, 9, 6,
+ARC_TO, 1, 1, 0, 0, 0, 6, 9,
+LINE_TO, 47, 50,
+R_ARC_TO, 1, 1, 0, 0, 0, 3, -3,
CLOSE,
-R_MOVE_TO, 0, -7.87,
-R_CUBIC_TO, -0.87, 0, -1.65, 0.25, -2.33, 0.77,
-R_ARC_TO, 3.95, 3.95, 0, 0, 0, -1.42, 1.94,
-LINE_TO, 2.21, 3.66,
-R_ARC_TO, 6.79, 6.79, 0, 0, 1, 2.27, -1.94,
-CUBIC_TO, 5.4, 1.22, 6.4, 0.98, 7.5, 0.98,
-R_CUBIC_TO, 1.1, 0, 2.08, 0.24, 2.99, 0.72,
-ARC_TO, 6.66, 6.66, 0, 0, 1, 12.76, 3.6,
-H_LINE_TO, 7.51,
-R_LINE_TO, -0.01, 0.01,
+MOVE_TO, 5, 26,
+R_ARC_TO, 1, 1, 0, 0, 0, 0, 4,
+H_LINE_TO, 51,
+R_ARC_TO, 1, 1, 0, 0, 0, 0, -4,
CLOSE,
-R_MOVE_TO, 6.01, 1.31,
-R_CUBIC_TO, 0.19, 0.4, 0.32, 0.83, 0.41, 1.27,
-R_CUBIC_TO, 0.09, 0.44, 0.15, 0.89, 0.15, 1.36,
-R_CUBIC_TO, 0, 1.7, -0.55, 3.16, -1.68, 4.38,
-R_CUBIC_TO, -1.11, 1.23, -2.47, 1.93, -4.1, 2.13,
-R_LINE_TO, 2.63, -4.55,
-R_CUBIC_TO, 0.17, -0.28, 0.29, -0.59, 0.38, -0.92,
-R_CUBIC_TO, 0.09, -0.34, 0.15, -0.69, 0.15, -1.05,
-R_CUBIC_TO, 0, -0.52, -0.09, -0.99, -0.28, -1.42,
-R_ARC_TO, 3.96, 3.96, 0, 0, 0, -0.74, -1.2,
-R_H_LINE_TO, 3.08,
-R_V_LINE_TO, 0.01,
+MOVE_TO, 6, 47,
+R_ARC_TO, 1, 1, 0, 0, 0, 3, 3,
+LINE_TO, 50, 9,
+ARC_TO, 1, 1, 0, 0, 0, 47, 6,
CLOSE
--- a/ui/webui/resources/cr_elements/icons.html.ts
+++ b/ui/webui/resources/cr_elements/icons.html.ts
@@ -114,9 +114,8 @@ div.innerHTML = getTrustedHTML`
@@ -22,7 +22,7 @@
{ShapeContextTokens::kTextfieldRadius, ShapeSysTokens::kSmall},
{ShapeContextTokens::kSidePanelContentRadius,
- ShapeSysTokens::kMedium},
+ ShapeSysTokens::kXSmall},
+ ShapeSysTokens::kMediumSmall},
{ShapeContextTokens::kSidePanelPageContentRadius,
ShapeSysTokens::kSmall},
});
+137 -40
View File
@@ -84,7 +84,7 @@
</div>
--- a/chrome/browser/resources/side_panel/customize_chrome/app.css
+++ b/chrome/browser/resources/side_panel/customize_chrome/app.css
@@ -23,10 +23,6 @@
@@ -23,22 +23,18 @@
display: block;
}
@@ -95,7 +95,12 @@
.sp-card {
font-size: 12px;
font-weight: 500;
@@ -38,7 +34,7 @@ sp-heading {
line-height: 16px;
- max-width: calc(360px - 2 * var(--sp-body-padding));
+ max-width: calc(360px - var(--sp-body-padding));
}
#toolbarButton {
border: none;
color: var(--cr-primary-text-color);
display: flex;
@@ -137,21 +142,58 @@
}
#wallpaperSearchButton {
@@ -80,6 +81,7 @@ customize-color-scheme-mode,
customize-color-scheme-mode {
display: block;
margin: 16px;
+ margin-top: 0;
}
cr-theme-color-picker {
--- a/chrome/browser/resources/side_panel/customize_chrome/appearance.html.ts
+++ b/chrome/browser/resources/side_panel/customize_chrome/appearance.html.ts
@@ -11,7 +11,7 @@ export function getHtml(this: Appearance
@@ -11,8 +11,20 @@ export function getHtml(this: Appearance
return html`<!--_html_template_start_-->
<customize-chrome-theme-snapshot id="themeSnapshot"
@edit-theme-click="${this.onEditThemeClicked_}"
- ?hidden="${!this.showThemeSnapshot_}">
+ ?hidden="${true}">
</customize-chrome-theme-snapshot>
+<customize-color-scheme-mode></customize-color-scheme-mode>
+<cr-theme-color-picker id="chromeColors" ?hidden="${!this.showColorPicker_}">
+</cr-theme-color-picker>
+<hr class="sp-hr">
+<div id="followThemeToggle" class="sp-card-content"
+ ?hidden="${!this.showDeviceThemeToggle_}">
+ <div id="followThemeToggleTitle">$i18n{followThemeToggle}</div>
+ <cr-toggle id="followThemeToggleControl" title="$i18n{followThemeToggle}"
+ ?checked="${!!this.theme_ && this.theme_.followDeviceTheme}"
+ @change="${this.onFollowThemeToggleChange_}">
+ </cr-toggle>
+</div>
<customize-chrome-hover-button id="thirdPartyThemeLinkButton"
class="link-out-button theme-button"
@@ -42,13 +42,7 @@ ${(!this.isSourceTabFirstPartyNtp_ && !!
this.ntpManagedByName_)}">
</customize-chrome-hover-button>
`: ''}
?hidden="${!this.thirdPartyThemeId_}"
@@ -26,56 +38,16 @@ export function getHtml(this: Appearance
label="$i18n{yourUploadedImage}"
label-description="$i18n{currentTheme}">
</customize-chrome-hover-button>
-<customize-chrome-hover-button id="searchedImageButton" class="theme-button"
- ?hidden="${!this.showSearchedImageButton_}"
- @click="${this.onSearchedImageButtonClick_}"
- label="$i18n{yourSearchedImage}"
- label-description="$i18n{currentTheme}">
-</customize-chrome-hover-button>
-${(!this.isSourceTabFirstPartyNtp_ && !!this.ntpManagedByName_) ? html`
- <customize-chrome-hover-button id="thirdPartyManageLinkButton"
- aria-button-label="${this.i18n('newTabPageManagedByA11yLabel',
- this.ntpManagedByName_)}"
- class="link-out-button theme-button"
- @click="${this.onNewTabPageManageByButtonClicked_}"
- label-description="${this.i18n('newTabPageManagedBy',
- this.ntpManagedByName_)}">
- </customize-chrome-hover-button>
- `: ''}
-<div id="editButtonsContainer" ?hidden="${!this.showEditTheme_}">
- <cr-button id="editThemeButton" @click="${this.onEditThemeClicked_}"
- class="floating-button">
@@ -159,38 +201,56 @@
- ?hidden="${this.wallpaperSearchButtonEnabled_}"></div>
- ${this.editThemeButtonText_}
- </cr-button>
+<div id="editButtonsContainer" ?hidden="${true}">
${this.wallpaperSearchButtonEnabled_ ? html`
<cr-button id="wallpaperSearchButton"
@click="${this.onWallpaperSearchClicked_}" class="floating-button">
@@ -58,11 +52,15 @@ ${(!this.isSourceTabFirstPartyNtp_ && !!
</cr-button>
` : ''}
</div>
- ${this.wallpaperSearchButtonEnabled_ ? html`
- <cr-button id="wallpaperSearchButton"
- @click="${this.onWallpaperSearchClicked_}" class="floating-button">
- <div id="wallpaperSearchIcon" class="cr-icon edit-theme-icon"
- slot="prefix-icon"></div>
- $i18n{wallpaperSearchTileLabel}
- </cr-button>
- ` : ''}
-</div>
-<hr class="sp-hr" ?hidden="${!this.showEditTheme_}">
<customize-color-scheme-mode></customize-color-scheme-mode>
<cr-theme-color-picker id="chromeColors" ?hidden="${!this.showColorPicker_}">
</cr-theme-color-picker>
-<customize-color-scheme-mode></customize-color-scheme-mode>
-<cr-theme-color-picker id="chromeColors" ?hidden="${!this.showColorPicker_}">
-</cr-theme-color-picker>
-<hr class="sp-hr" ?hidden="${!this.showBottomDivider_}">
+<hr class="sp-hr">
+ <cr-button id="editThemeButton" @click="${this.onEditThemeClicked_}">
+ <div id="editThemeIcon" class="cr-icon edit-theme-icon" slot="prefix-icon"
+ ?hidden="${this.wallpaperSearchButtonEnabled_}"></div>
+ ${this.editThemeButtonText_}
+ </cr-button>
<div id="followThemeToggle" class="sp-card-content"
?hidden="${!this.showDeviceThemeToggle_}">
<div id="followThemeToggleTitle">$i18n{followThemeToggle}</div>
-<div id="followThemeToggle" class="sp-card-content"
- ?hidden="${!this.showDeviceThemeToggle_}">
- <div id="followThemeToggleTitle">$i18n{followThemeToggle}</div>
- <cr-toggle id="followThemeToggleControl" title="$i18n{followThemeToggle}"
- ?checked="${!!this.theme_ && this.theme_.followDeviceTheme}"
- @change="${this.onFollowThemeToggleChange_}">
- </cr-toggle>
-</div>
<customize-chrome-hover-button id="setClassicChromeButton"
?hidden="${!this.showClassicChromeButton_}"
label="$i18n{resetToClassicChrome}"
@click="${this.onSetClassicChromeClicked_}">
</customize-chrome-hover-button>
+<cr-button id="editThemeButton" @click="${this.onEditThemeClicked_}">
+ <div id="editThemeIcon" class="cr-icon edit-theme-icon" slot="prefix-icon"
+ ?hidden="${this.wallpaperSearchButtonEnabled_}"></div>
+ ${this.editThemeButtonText_}
+</cr-button>
${this.showManagedDialog_ ? html`
<managed-dialog @close="${this.onManagedDialogClosed_}"
title="$i18n{managedColorsTitle}"
--- a/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css
+++ b/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css
@@ -21,15 +21,11 @@
@@ -15,21 +15,14 @@
font-weight: 500;
line-height: 16px;
padding: var(--sp-card-padding);
- max-width: calc(360px - 2 * var(--sp-body-padding) - 2 * var(
- --sp-card-inline-padding));
}
#pinningSelectionCard {
/* Remove horizontal padding for highlight */
- padding: 16px 0px 0px 0px;
- max-width: calc(360px - 2 * var(--sp-body-padding));
+ padding: 8px 0;
+ max-width: calc(360px - 2 * 8px);
overflow: hidden;
}
@@ -201,7 +261,7 @@
.choose-icons-row-container {
align-items: center;
display: flex;
@@ -49,7 +45,7 @@
@@ -49,7 +42,7 @@
.sp-hr {
width: auto;
@@ -210,7 +270,7 @@
}
.choose-icons-row {
@@ -87,8 +83,8 @@
@@ -87,8 +80,8 @@
}
#resetToDefaultButton {
@@ -221,7 +281,7 @@
}
#resetToDefaultIcon {
@@ -105,7 +101,7 @@
@@ -105,7 +98,7 @@
color: var(--cr-secondary-text-color);
font-weight: 400;
text-align: center;
@@ -251,7 +311,7 @@
.sp-card {
background: var(--color-side-panel-card-background);
- border-radius: 12px;
+ border-radius: 6px;
+ border-radius: 9px;
display: block;
margin: 0 var(--sp-body-padding);
padding: var(--sp-card-block-padding) 0;
@@ -280,17 +340,30 @@
margin: 0;
width: 100%;
}
@@ -97,3 +106,7 @@ cr-dialog::part(dialog) {
border-radius: 12px;
box-shadow: var(--cr-elevation-3);
}
+
+cr-toolbar-search-field {
+ border-radius: 9px;
+}
--- a/chrome/browser/resources/side_panel/shared/sp_shared_vars.css
+++ b/chrome/browser/resources/side_panel/shared/sp_shared_vars.css
@@ -8,7 +8,7 @@
@@ -8,11 +8,11 @@
* #css_wrapper_metadata_end */
html {
- --sp-body-padding: 8px;
+ --sp-body-padding: 6px;
+ --sp-body-padding: 4px;
--sp-card-block-padding: 8px;
--sp-card-inline-padding: 16px;
--sp-card-padding: var(--sp-card-block-padding) var(--sp-card-inline-padding);
- --sp-card-gap: 12px;
+ --sp-card-gap: 8px;
/* Override default WebUI vars from cr_shared_vars. */
--cr-primary-text-color: var(--color-side-panel-card-primary-foreground);
--- a/chrome/browser/resources/side_panel/shared/sp_heading.css
+++ b/chrome/browser/resources/side_panel/shared/sp_heading.css
@@ -15,12 +15,8 @@
@@ -308,14 +381,38 @@
}
#backButton,
--- a/chrome/browser/resources/side_panel/customize_chrome/themes.html.ts
+++ b/chrome/browser/resources/side_panel/customize_chrome/themes.html.ts
@@ -9,7 +9,7 @@ import type {ThemesElement} from './them
export function getHtml(this: ThemesElement) {
--- a/chrome/browser/resources/side_panel/customize_chrome/categories.html.ts
+++ b/chrome/browser/resources/side_panel/customize_chrome/categories.html.ts
@@ -10,7 +10,7 @@ export function getHtml(this: Categories
// clang-format off
return html`<!--_html_template_start_-->
<div class="sp-card">
- <sp-heading id="heading" @back-button-click="${this.onBackClick_}"
+ <sp-heading id="heading" class="separator" @back-button-click="${this.onBackClick_}"
back-button-aria-label="$i18n{backButton}"
back-button-title="$i18n{backButton}">
<h2 slot="heading">${this.header_}</h2>
<h2 slot="heading">$i18n{categoriesHeader}</h2>
--- a/chrome/browser/resources/side_panel/customize_chrome/hover_button.css
+++ b/chrome/browser/resources/side_panel/customize_chrome/hover_button.css
@@ -20,6 +20,7 @@
margin-top: 8px;
padding: 8px 16px;
width: 100%;
+ align-items: center;
}
#hoverButton:hover {
--- a/chrome/browser/resources/side_panel/customize_chrome/icons/reset.svg
+++ b/chrome/browser/resources/side_panel/customize_chrome/icons/reset.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="m7.898 12.5 1.704-1.7-1.684-1.698-.566.566.699.715c-.324 0-.637-.055-.942-.168a2.168 2.168 0 0 1-.808-.516 2.355 2.355 0 0 1-.516-.773A2.359 2.359 0 0 1 5.602 8c0-.18.015-.352.046-.516.036-.168.086-.328.153-.484l-.586-.582a3.419 3.419 0 0 0-.305.758A3 3 0 0 0 4.8 8c0 .422.079.832.243 1.227.16.394.39.738.691 1.039.32.324.68.558 1.075.71.394.149.812.223 1.257.223l-.734.735Zm2.887-2.918c.133-.242.235-.496.305-.758A3 3 0 0 0 11.2 8c0-.422-.083-.832-.25-1.227a3.185 3.185 0 0 0-.7-1.039 2.916 2.916 0 0 0-1.082-.691 3.376 3.376 0 0 0-1.27-.211l.77-.766-.566-.566-1.704 1.7 1.704 1.698.566-.566-.734-.73c.343 0 .664.054.957.164.296.113.566.289.808.535.223.222.395.48.516.773.125.297.183.606.183.926 0 .18-.015.352-.046.516a2.585 2.585 0 0 1-.153.484ZM8 14.398a6.192 6.192 0 0 1-2.484-.5 6.366 6.366 0 0 1-2.04-1.375 6.366 6.366 0 0 1-1.374-2.039A6.192 6.192 0 0 1 1.602 8c0-.89.164-1.719.5-2.492.332-.774.789-1.45 1.375-2.031a6.366 6.366 0 0 1 2.039-1.375A6.192 6.192 0 0 1 8 1.602c.89 0 1.719.164 2.492.5.774.332 1.45.789 2.031 1.375a6.375 6.375 0 0 1 1.375 2.03c.336.774.5 1.602.5 2.493 0 .879-.164 1.707-.5 2.484a6.366 6.366 0 0 1-1.375 2.04 6.375 6.375 0 0 1-2.03 1.374c-.774.336-1.602.5-2.493.5ZM8 13.2c1.445 0 2.672-.504 3.684-1.515 1.011-1.012 1.515-2.239 1.515-3.684 0-1.445-.504-2.672-1.515-3.684C10.672 3.305 9.445 2.801 8 2.801c-1.445 0-2.672.504-3.684 1.515C3.305 5.328 2.801 6.555 2.801 8c0 1.445.504 2.672 1.515 3.684C5.328 12.695 6.555 13.199 8 13.199ZM8 8Zm0 0" fill="#5F6368"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#1f1f1f"><path d="M480-192q-120 0-204-84t-84-204q0-120 84-204t204-84q65 0 120.5 27t95.5 72v-99h72v240H528v-72h131q-29-44-76-70t-103-26q-90 0-153 63t-63 153q0 90 63 153t153 63q84 0 144-55.5T693-456h74q-9 112-91 188t-196 76Z"/></svg>
\ No newline at end of file
--- a/chrome/browser/resources/side_panel/customize_chrome/icons/upload.svg
+++ b/chrome/browser/resources/side_panel/customize_chrome/icons/upload.svg
@@ -1 +1 @@
-<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.666 5.44 6.213 8.88 4.333 7 11 .335l6.666 6.667-1.88 1.893-3.453-3.453v10.893H9.666V5.441ZM3 15H.333v4c0 1.467 1.2 2.667 2.667 2.667h16c1.466 0 2.666-1.2 2.666-2.666v-4H19v4H3v-4Z" fill="#5F6368"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#1f1f1f"><path d="M444-336v-342L339-573l-51-51 192-192 192 192-51 51-105-105v342h-72ZM263.72-192Q234-192 213-213.15T192-264v-72h72v72h432v-72h72v72q0 29.7-21.16 50.85Q725.68-192 695.96-192H263.72Z"/></svg>
\ No newline at end of file
+32 -5
View File
@@ -218,7 +218,15 @@
display: block;
--- a/ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.css
+++ b/ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.css
@@ -50,6 +50,6 @@ cr-theme-color {
@@ -25,6 +25,7 @@ cr-grid {
#customColorContainer {
position: relative;
+ border-radius: 16px;
}
#colorPickerIcon {
@@ -50,6 +51,6 @@ cr-theme-color {
background-color: var(
--color-theme-color-picker-option-background,
var(--cr-fallback-color-neutral-container));
@@ -263,16 +271,15 @@
:host {
- --segmented-button-height: 44px;
+ --segmented-button-height: 38px;
+ --segmented-button-height: 40px;
--segmented-button-width: 100%;
--segmented-button-padding: 2px;
+ --segmented-button-radius: 10px;
+ --segmented-button-radius: 11px;
+ --segmented-button-child-radius: 8px;
}
cr-radio-group {
- border: 1px var(--color-segmented-button-border,
+ outline: 1px var(--color-segmented-button-border,
border: 1px var(--color-segmented-button-border,
var(--cr-fallback-color-tonal-outline)) solid;
- border-radius: var(--segmented-button-height);
+ border-radius: var(--segmented-button-radius);
@@ -287,3 +294,23 @@
}
:host ::slotted(*) {
--- a/ui/webui/resources/cr_components/customize_color_scheme_mode/segmented_button_option.css
+++ b/ui/webui/resources/cr_components/customize_color_scheme_mode/segmented_button_option.css
@@ -9,7 +9,7 @@
* #css_wrapper_metadata_end */
#button {
- border-radius: var(--segmented-button-height);
+ border-radius: var(--segmented-button-child-radius);
box-sizing: border-box;
color: var(--color-segmented-button-foreground-unchecked,
var(--cr-fallback-color-on-surface-subtle));
@@ -32,7 +32,7 @@
}
#button #overlay {
- border-radius: var(--segmented-button-height);
+ border-radius: var(--segmented-button-child-radius);
box-sizing: border-box;
height: 100%;
left: 0;
+2 -1
View File
@@ -147,7 +147,7 @@ helium/settings/remove-autofill.patch
helium/settings/fix-page-names.patch
helium/settings/disable-safety-hub-page.patch
helium/settings/remove-results-help-link.patch
helium/settings/remove-about-page-easter-egg.patch
helium/settings/about-page-tweaks.patch
helium/hop/setup.patch
helium/hop/disable-password-manager.patch
@@ -189,3 +189,4 @@ helium/ui/bookmarks-bar-padding.patch
helium/ui/profile-picker-cleanup.patch
helium/ui/disable-tab-group-editor-footer.patch
helium/ui/profile-customization-cleanup.patch
helium/ui/bangs-ui.patch
+26
View File
@@ -0,0 +1,26 @@
// Copyright 2025 The Helium Authors
// You can use, redistribute, and/or modify this source code under
// the terms of the GPL-3.0 license that can be found in the LICENSE file.
CANVAS_DIMENSIONS, 56,
FILL_RULE_NONZERO,
MOVE_TO, 26, 51,
R_ARC_TO, 1, 1, 0, 0, 0, 4, 0,
V_LINE_TO, 5,
ARC_TO, 1, 1, 0, 0, 0, 26, 5,
CLOSE,
MOVE_TO, 9, 6,
ARC_TO, 1, 1, 0, 0, 0, 6, 9,
LINE_TO, 47, 50,
R_ARC_TO, 1, 1, 0, 0, 0, 3, -3,
CLOSE,
MOVE_TO, 5, 26,
R_ARC_TO, 1, 1, 0, 0, 0, 0, 4,
H_LINE_TO, 51,
R_ARC_TO, 1, 1, 0, 0, 0, 0, -4,
CLOSE,
MOVE_TO, 6, 47,
R_ARC_TO, 1, 1, 0, 0, 0, 3, 3,
LINE_TO, 50, 9,
ARC_TO, 1, 1, 0, 0, 0, 47, 6,
CLOSE
+1 -15
View File
@@ -1,15 +1 @@
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_179_610)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M256 79.7288C256 76.6897 256.001 73.6504 255.983 70.611C255.967 68.0507 255.938 65.491 255.868 62.932C255.718 57.3544 255.389 51.7289 254.397 46.2134C253.391 40.6184 251.748 35.4111 249.159 30.3275C246.614 25.3309 243.29 20.7586 239.323 16.7947C235.357 12.8307 230.784 9.50832 225.785 6.96479C220.696 4.37529 215.483 2.73304 209.882 1.72737C204.366 0.736929 198.739 0.408542 193.161 0.257863C190.601 0.188582 188.04 0.159378 185.478 0.143533C182.437 0.124893 179.396 0.126446 176.355 0.126446L141.048 0H114.64L79.9568 0.126446C76.91 0.126446 73.8632 0.124893 70.8164 0.143533C68.2496 0.159378 65.684 0.188582 63.1181 0.257863C57.5275 0.408542 51.8878 0.73724 46.3586 1.72893C40.75 2.73428 35.5294 4.37591 30.4336 6.96355C25.4246 9.50738 20.8412 12.8301 16.867 16.7947C12.8934 20.7583 9.56265 25.3296 7.01292 30.3253C4.4169 35.4114 2.77093 40.6218 1.76247 46.2199C0.769548 51.7333 0.44054 57.3568 0.289241 62.932C0.22027 65.4913 0.190445 68.051 0.174911 70.611C0.156271 73.6507 0 77.4264 0 80.4657L0.000932032 114.668L0 141.359L0.157824 176.288C0.157824 179.331 0.156581 182.375 0.174911 185.418C0.190445 187.982 0.22027 190.545 0.289551 193.108C0.44054 198.693 0.770169 204.326 1.76403 209.849C2.77217 215.451 4.41783 220.666 7.01168 225.756C9.56172 230.76 12.8931 235.338 16.867 239.308C20.8409 243.277 25.423 246.604 30.4312 249.151C35.53 251.744 40.7531 253.389 46.3652 254.396C51.8918 255.388 57.5297 255.717 63.1181 255.867C65.684 255.937 68.2499 255.966 70.8167 255.982C73.8635 256 76.91 255.999 79.9568 255.999L114.953 256H141.427L176.355 255.999C179.396 255.999 182.437 256 185.478 255.982C188.04 255.966 190.601 255.937 193.161 255.867C198.741 255.716 204.37 255.387 209.889 254.394C215.486 253.388 220.697 251.744 225.783 249.152C230.782 246.605 235.357 243.278 239.323 239.308C243.289 235.339 246.613 230.761 249.158 225.759C251.749 220.666 253.392 215.449 254.398 209.843C255.389 204.322 255.718 198.69 255.869 193.108C255.938 190.545 255.967 187.982 255.983 185.418C256.002 182.375 256 179.331 256 176.288C256 176.288 255.998 141.975 255.998 141.359V114.64C255.998 114.185 256 79.7288 256 79.7288" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M256 79.7288C256 76.6897 256.001 73.6504 255.983 70.611C255.967 68.0507 255.938 65.491 255.868 62.932C255.718 57.3544 255.389 51.7289 254.397 46.2134C253.391 40.6184 251.748 35.4111 249.159 30.3275C246.614 25.3309 243.29 20.7586 239.323 16.7947C235.357 12.8307 230.784 9.50832 225.785 6.96479C220.696 4.37529 215.483 2.73304 209.882 1.72737C204.366 0.736929 198.739 0.408542 193.161 0.257863C190.601 0.188582 188.04 0.159378 185.478 0.143533C182.437 0.124893 179.396 0.126446 176.355 0.126446L141.048 0H114.64L79.9568 0.126446C76.91 0.126446 73.8632 0.124893 70.8164 0.143533C68.2496 0.159378 65.684 0.188582 63.1181 0.257863C57.5275 0.408542 51.8878 0.73724 46.3586 1.72893C40.75 2.73428 35.5294 4.37591 30.4336 6.96355C25.4246 9.50738 20.8412 12.8301 16.867 16.7947C12.8934 20.7583 9.56265 25.3296 7.01292 30.3253C4.4169 35.4114 2.77093 40.6218 1.76247 46.2199C0.769548 51.7333 0.44054 57.3568 0.289241 62.932C0.22027 65.4913 0.190445 68.051 0.174911 70.611C0.156271 73.6507 0 77.4264 0 80.4657L0.000932032 114.668L0 141.359L0.157824 176.288C0.157824 179.331 0.156581 182.375 0.174911 185.418C0.190445 187.982 0.22027 190.545 0.289551 193.108C0.44054 198.693 0.770169 204.326 1.76403 209.849C2.77217 215.451 4.41783 220.666 7.01168 225.756C9.56172 230.76 12.8931 235.338 16.867 239.308C20.8409 243.277 25.423 246.604 30.4312 249.151C35.53 251.744 40.7531 253.389 46.3652 254.396C51.8918 255.388 57.5297 255.717 63.1181 255.867C65.684 255.937 68.2499 255.966 70.8167 255.982C73.8635 256 76.91 255.999 79.9568 255.999L114.953 256H141.427L176.355 255.999C179.396 255.999 182.437 256 185.478 255.982C188.04 255.966 190.601 255.937 193.161 255.867C198.741 255.716 204.37 255.387 209.889 254.394C215.486 253.388 220.697 251.744 225.783 249.152C230.782 246.605 235.357 243.278 239.323 239.308C243.289 235.339 246.613 230.761 249.158 225.759C251.749 220.666 253.392 215.449 254.398 209.843C255.389 204.322 255.718 198.69 255.869 193.108C255.938 190.545 255.967 187.982 255.983 185.418C256.002 182.375 256 179.331 256 176.288C256 176.288 255.998 141.975 255.998 141.359V114.64C255.998 114.185 256 79.7288 256 79.7288" fill="#5566B1"/>
<path d="M122.494 51.4321C122.494 48.6035 124.787 46.3105 127.615 46.3105C130.444 46.3105 132.737 48.6035 132.737 51.4321V203.797C132.737 206.625 130.444 208.918 127.615 208.918C124.787 208.918 122.494 206.625 122.494 203.797V51.4321Z" fill="white"/>
<path d="M56.1722 63.3416C54.1722 61.3415 54.1722 58.0987 56.1722 56.0987C58.1723 54.0986 61.4151 54.0986 63.4151 56.0987L199.899 192.582C201.899 194.582 201.899 197.825 199.899 199.825C197.899 201.825 194.656 201.825 192.656 199.825L56.1722 63.3416Z" fill="white"/>
<path d="M192.655 56.0982C194.655 54.0981 197.898 54.0981 199.898 56.0982C201.898 58.0983 201.898 61.341 199.898 63.3411L63.4148 199.825C61.4147 201.825 58.172 201.825 56.1719 199.825C54.1718 197.824 54.1718 194.582 56.1719 192.582L192.655 56.0982Z" fill="white"/>
<path d="M204.182 122.876C207.01 122.876 209.303 125.169 209.303 127.998C209.303 130.826 207.01 133.119 204.182 133.119L51.8168 133.119C48.9883 133.119 46.6953 130.826 46.6953 127.998C46.6953 125.169 48.9883 122.876 51.8168 122.876H204.182Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_179_610">
<rect width="256" height="256" fill="white"/>
</clipPath>
</defs>
</svg>
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M256 79.7288C256 76.6897 256.001 73.6504 255.983 70.611C255.967 68.0507 255.938 65.491 255.868 62.932C255.718 57.3544 255.389 51.7289 254.397 46.2134C253.391 40.6184 251.748 35.4111 249.159 30.3275C246.614 25.3309 243.29 20.7586 239.323 16.7947C235.357 12.8307 230.784 9.50832 225.785 6.96479C220.696 4.37529 215.483 2.73304 209.882 1.72737C204.366 0.736929 198.739 0.408542 193.161 0.257863C190.601 0.188582 188.04 0.159378 185.478 0.143533C182.437 0.124893 179.396 0.126446 176.355 0.126446L141.048 0H114.64L79.9568 0.126446C76.91 0.126446 73.8632 0.124893 70.8164 0.143533C68.2496 0.159378 65.684 0.188582 63.1181 0.257863C57.5275 0.408542 51.8878 0.73724 46.3586 1.72893C40.75 2.73428 35.5294 4.37591 30.4336 6.96355C25.4246 9.50738 20.8412 12.8301 16.867 16.7947C12.8934 20.7583 9.56265 25.3296 7.01292 30.3253C4.4169 35.4114 2.77093 40.6218 1.76247 46.2199C0.769548 51.7333 0.44054 57.3568 0.289241 62.932C0.22027 65.4913 0.190445 68.051 0.174911 70.611C0.156271 73.6507 0 77.4264 0 80.4657L0.000932032 114.668L0 141.359L0.157824 176.288C0.157824 179.331 0.156581 182.375 0.174911 185.418C0.190445 187.982 0.22027 190.545 0.289551 193.108C0.44054 198.693 0.770169 204.326 1.76403 209.849C2.77217 215.451 4.41783 220.666 7.01168 225.756C9.56172 230.76 12.8931 235.338 16.867 239.308C20.8409 243.277 25.423 246.604 30.4312 249.151C35.53 251.744 40.7531 253.389 46.3652 254.396C51.8918 255.388 57.5297 255.717 63.1181 255.867C65.684 255.937 68.2499 255.966 70.8167 255.982C73.8635 256 76.91 255.999 79.9568 255.999L114.953 256H141.427L176.355 255.999C179.396 255.999 182.437 256 185.478 255.982C188.04 255.966 190.601 255.937 193.161 255.867C198.741 255.716 204.37 255.387 209.889 254.394C215.486 253.388 220.697 251.744 225.783 249.152C230.782 246.605 235.357 243.278 239.323 239.308C243.289 235.339 246.613 230.761 249.158 225.759C251.749 220.666 253.392 215.449 254.398 209.843C255.389 204.322 255.718 198.69 255.869 193.108C255.938 190.545 255.967 187.982 255.983 185.418C256.002 182.375 256 179.331 256 176.288C256 176.288 255.998 141.975 255.998 141.359V114.64C255.998 114.185 256 79.7288 256 79.7288Z" fill="#5566B1"/><path d="M122.494 51.4321C122.494 48.6035 124.787 46.3105 127.615 46.3105C130.444 46.3105 132.737 48.6035 132.737 51.4321V203.797C132.737 206.625 130.444 208.918 127.615 208.918C124.787 208.918 122.494 206.625 122.494 203.797V51.4321Z" fill="white"/><path d="M56.1719 63.3416C54.1719 61.3415 54.1719 58.0987 56.1719 56.0987C58.172 54.0986 61.4148 54.0986 63.4148 56.0987L199.899 192.582C201.899 194.582 201.899 197.825 199.899 199.825C197.899 201.825 194.656 201.825 192.656 199.825L56.1719 63.3416Z" fill="white"/><path d="M192.655 56.0977C194.655 54.0976 197.898 54.0976 199.898 56.0977C201.898 58.0978 201.898 61.3405 199.898 63.3406L63.4148 199.825C61.4147 201.825 58.172 201.825 56.1719 199.825C54.1718 197.824 54.1718 194.582 56.1719 192.582L192.655 56.0977Z" fill="white"/><path d="M204.182 122.876C207.01 122.876 209.303 125.169 209.303 127.998C209.303 130.826 207.01 133.119 204.182 133.119H51.8168C48.9883 133.119 46.6953 130.826 46.6953 127.998C46.6953 125.169 48.9883 122.876 51.8168 122.876H204.182Z" fill="white"/></svg>

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

@@ -0,0 +1,99 @@
// Copyright 2025 The Helium Authors
// You can use, redistribute, and/or modify this source code under
// the terms of the GPL-3.0 license that can be found in the LICENSE file.
CANVAS_DIMENSIONS, 256,
MOVE_TO, 256, 79.73f,
CUBIC_TO, 256, 76.69f, 256, 73.65f, 255.98f, 70.61f,
CUBIC_TO, 255.97f, 68.05f, 255.94f, 65.49f, 255.87f, 62.93f,
CUBIC_TO, 255.72f, 57.35f, 255.39f, 51.73f, 254.4f, 46.21f,
CUBIC_TO, 253.39f, 40.62f, 251.75f, 35.41f, 249.16f, 30.33f,
CUBIC_TO, 246.61f, 25.33f, 243.29f, 20.76f, 239.32f, 16.79f,
CUBIC_TO, 235.36f, 12.83f, 230.78f, 9.51f, 225.79f, 6.96f,
CUBIC_TO, 220.7f, 4.38f, 215.48f, 2.73f, 209.88f, 1.73f,
CUBIC_TO, 204.37f, 0.74f, 198.74f, 0.41f, 193.16f, 0.26f,
CUBIC_TO, 190.6f, 0.19f, 188.04f, 0.16f, 185.48f, 0.14f,
CUBIC_TO, 182.44f, 0.12f, 179.4f, 0.13f, 176.36f, 0.13f,
LINE_TO, 141.05f, 0,
H_LINE_TO, 114.64f,
LINE_TO, 79.96f, 0.13f,
CUBIC_TO, 76.91f, 0.13f, 73.86f, 0.12f, 70.82f, 0.14f,
CUBIC_TO, 68.25f, 0.16f, 65.68f, 0.19f, 63.12f, 0.26f,
CUBIC_TO, 57.53f, 0.41f, 51.89f, 0.74f, 46.36f, 1.73f,
CUBIC_TO, 40.75f, 2.73f, 35.53f, 4.38f, 30.43f, 6.96f,
CUBIC_TO, 25.42f, 9.51f, 20.84f, 12.83f, 16.87f, 16.79f,
CUBIC_TO, 12.89f, 20.76f, 9.56f, 25.33f, 7.01f, 30.33f,
CUBIC_TO, 4.42f, 35.41f, 2.77f, 40.62f, 1.76f, 46.22f,
CUBIC_TO, 0.77f, 51.73f, 0.44f, 57.36f, 0.29f, 62.93f,
CUBIC_TO, 0.22f, 65.49f, 0.19f, 68.05f, 0.17f, 70.61f,
CUBIC_TO, 0.16f, 73.65f, 0, 77.43f, 0, 80.47f,
LINE_TO, 0, 114.67f,
LINE_TO, 0, 141.36f,
LINE_TO, 0.16f, 176.29f,
CUBIC_TO, 0.16f, 179.33f, 0.16f, 182.38f, 0.17f, 185.42f,
CUBIC_TO, 0.19f, 187.98f, 0.22f, 190.55f, 0.29f, 193.11f,
CUBIC_TO, 0.44f, 198.69f, 0.77f, 204.33f, 1.76f, 209.85f,
CUBIC_TO, 2.77f, 215.45f, 4.42f, 220.67f, 7.01f, 225.76f,
CUBIC_TO, 9.56f, 230.76f, 12.89f, 235.34f, 16.87f, 239.31f,
CUBIC_TO, 20.84f, 243.28f, 25.42f, 246.6f, 30.43f, 249.15f,
CUBIC_TO, 35.53f, 251.74f, 40.75f, 253.39f, 46.37f, 254.4f,
CUBIC_TO, 51.89f, 255.39f, 57.53f, 255.72f, 63.12f, 255.87f,
CUBIC_TO, 65.68f, 255.94f, 68.25f, 255.97f, 70.82f, 255.98f,
CUBIC_TO, 73.86f, 256, 76.91f, 256, 79.96f, 256,
LINE_TO, 114.95f, 256,
H_LINE_TO, 141.43f,
LINE_TO, 176.36f, 256,
CUBIC_TO, 179.4f, 256, 182.44f, 256, 185.48f, 255.98f,
CUBIC_TO, 188.04f, 255.97f, 190.6f, 255.94f, 193.16f, 255.87f,
CUBIC_TO, 198.74f, 255.72f, 204.37f, 255.39f, 209.89f, 254.39f,
CUBIC_TO, 215.49f, 253.39f, 220.7f, 251.74f, 225.78f, 249.15f,
CUBIC_TO, 230.78f, 246.61f, 235.36f, 243.28f, 239.32f, 239.31f,
CUBIC_TO, 243.29f, 235.34f, 246.61f, 230.76f, 249.16f, 225.76f,
CUBIC_TO, 251.75f, 220.67f, 253.39f, 215.45f, 254.4f, 209.84f,
CUBIC_TO, 255.39f, 204.32f, 255.72f, 198.69f, 255.87f, 193.11f,
CUBIC_TO, 255.94f, 190.55f, 255.97f, 187.98f, 255.98f, 185.42f,
CUBIC_TO, 256, 182.38f, 256, 179.33f, 256, 176.29f,
CUBIC_TO, 256, 176.29f, 256, 141.98f, 256, 141.36f,
V_LINE_TO, 114.64f,
CUBIC_TO, 256, 114.19f, 256, 79.73f, 256, 79.73f,
CLOSE,
NEW_PATH,
FILL_RULE_NONZERO,
MOVE_TO, 122.49f, 51.43f,
CUBIC_TO, 122.49f, 48.6f, 124.79f, 46.31f, 127.62f, 46.31f,
CUBIC_TO, 130.44f, 46.31f, 132.74f, 48.6f, 132.74f, 51.43f,
V_LINE_TO, 203.8f,
CUBIC_TO, 132.74f, 206.63f, 130.44f, 208.92f, 127.62f, 208.92f,
CUBIC_TO, 124.79f, 208.92f, 122.49f, 206.63f, 122.49f, 203.8f,
V_LINE_TO, 51.43f,
CLOSE,
NEW_PATH,
FILL_RULE_NONZERO,
MOVE_TO, 56.17f, 63.34f,
CUBIC_TO, 54.17f, 61.34f, 54.17f, 58.1f, 56.17f, 56.1f,
CUBIC_TO, 58.17f, 54.1f, 61.41f, 54.1f, 63.41f, 56.1f,
LINE_TO, 199.9f, 192.58f,
CUBIC_TO, 201.9f, 194.58f, 201.9f, 197.83f, 199.9f, 199.83f,
CUBIC_TO, 197.9f, 201.83f, 194.66f, 201.83f, 192.66f, 199.83f,
LINE_TO, 56.17f, 63.34f,
CLOSE,
NEW_PATH,
FILL_RULE_NONZERO,
MOVE_TO, 192.66f, 56.1f,
CUBIC_TO, 194.66f, 54.1f, 197.9f, 54.1f, 199.9f, 56.1f,
CUBIC_TO, 201.9f, 58.1f, 201.9f, 61.34f, 199.9f, 63.34f,
LINE_TO, 63.41f, 199.83f,
CUBIC_TO, 61.41f, 201.83f, 58.17f, 201.83f, 56.17f, 199.83f,
CUBIC_TO, 54.17f, 197.82f, 54.17f, 194.58f, 56.17f, 192.58f,
LINE_TO, 192.66f, 56.1f,
CLOSE,
NEW_PATH,
FILL_RULE_NONZERO,
MOVE_TO, 204.18f, 122.88f,
CUBIC_TO, 207.01f, 122.88f, 209.3f, 125.17f, 209.3f, 128,
CUBIC_TO, 209.3f, 130.83f, 207.01f, 133.12f, 204.18f, 133.12f,
H_LINE_TO, 51.82f,
CUBIC_TO, 48.99f, 133.12f, 46.7f, 130.83f, 46.7f, 128,
CUBIC_TO, 46.7f, 125.17f, 48.99f, 122.88f, 51.82f, 122.88f,
H_LINE_TO, 204.18f,
CLOSE
+5
View File
@@ -55,3 +55,8 @@ branding/product_icon/16x16.png chrome/app/theme/default_100_percent/chromium/li
branding/product_icon/32x32.png chrome/app/theme/default_100_percent/chromium/linux/product_logo_32.png
branding/product_logo.svg chrome/app/theme/chromium/product_logo.svg
branding/product_logo.icon chrome/app/vector_icons/browser_logo.icon
branding/product_logo.icon components/omnibox/browser/vector_icons/product_chrome_refresh.icon
branding/product_logo.icon components/vector_icons/chromium/product.icon
branding/product_logo_color.icon components/vector_icons/chromium/product_refresh.icon
+1 -1
View File
@@ -1 +1 @@
7
8