Chromium Code Reviews| Index: chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.h b/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| index 3dda6d284439b9bc9908411b2862f9e0a6478845..f11a1a774ca10376dfecd74c73bfc8ea1b8b77b2 100644 |
| --- a/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| +++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| @@ -73,6 +73,7 @@ class Gtk2UI : public views::LinuxUI { |
| // ui::LinuxUI: |
| void Initialize() override; |
| + void UpdateWithLocalState() override; |
| gfx::Image GetThemeImageNamed(int id) const override; |
| bool GetTint(int id, color_utils::HSL* tint) const override; |
| bool GetColor(int id, SkColor* color) const override; |
| @@ -130,6 +131,9 @@ class Gtk2UI : public views::LinuxUI { |
| // ThemeService interface and the colors we send to webkit. |
| void LoadGtkValues(); |
| + // Updates colors if necessary after possible modification of command line. |
| + void UpdateColors(); |
|
Evan Stade
2016/04/06 21:43:44
can you mark all the changes that should be revert
varkha
2016/04/06 21:55:17
Will do. MDC::Initialize might not go away, at lea
varkha
2016/04/07 17:02:37
Done.
|
| + |
| // Reads in explicit theme frame colors from the ChromeGtkFrame style class |
| // or generates them per our fallback algorithm. |
| SkColor BuildFrameColors(); |