| 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..9539df00f762ee53f9b9246b4e8d3cda215f536c 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 MaterialDesignControllerReady() 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 UpdateMaterialDesignColors();
|
| +
|
| // Reads in explicit theme frame colors from the ChromeGtkFrame style class
|
| // or generates them per our fallback algorithm.
|
| SkColor BuildFrameColors();
|
|
|