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..b29137bb633bd0612e5d3f73e6b7fe87e079ea04 100644 |
| --- a/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| +++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.h |
| @@ -73,6 +73,9 @@ class Gtk2UI : public views::LinuxUI { |
| // ui::LinuxUI: |
| void Initialize() override; |
| + // TODO(varkha): This should not be necessary once Material Design is on |
| + // unconditionally. |
| + 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 +133,11 @@ 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. |
| + // TODO(varkha): This should not be necessary once Material Design is on |
| + // unconditionally. |
| + void UpdateColors(); |
|
Evan Stade
2016/04/08 21:14:11
s/UpdateColors/UpdateMaterialDesignColors/
varkha
2016/04/08 23:27:07
Done.
|
| + |
| // Reads in explicit theme frame colors from the ChromeGtkFrame style class |
| // or generates them per our fallback algorithm. |
| SkColor BuildFrameColors(); |