-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make BraveThemeService observe kBraveThemeType prefs
- Loading branch information
Showing
5 changed files
with
44 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
diff --git a/chrome/browser/themes/theme_service_win.h b/chrome/browser/themes/theme_service_win.h | ||
index eba1cb2596d71b91e06183209503f3fc83b0e593..966a408a3080c6941db428b554ace6c66f6aead6 100644 | ||
index eba1cb2596d71b91e06183209503f3fc83b0e593..e6261a982859a6a66caa00d362f290d247ce7922 100644 | ||
--- a/chrome/browser/themes/theme_service_win.h | ||
+++ b/chrome/browser/themes/theme_service_win.h | ||
@@ -18,6 +18,9 @@ class ThemeServiceWin : public ThemeService { | ||
@@ -18,6 +18,7 @@ class ThemeServiceWin : public ThemeService { | ||
~ThemeServiceWin() override; | ||
|
||
private: | ||
+#if defined(BRAVE_CHROMIUM_BUILD) | ||
+ friend class BraveThemeServiceWin; | ||
+#endif | ||
// ThemeService: | ||
bool ShouldUseNativeFrame() const override; | ||
SkColor GetDefaultColor(int id, bool incognito) const override; |