| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ |
| 6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ | 6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // ui::ShellDialogLinux: | 69 // ui::ShellDialogLinux: |
| 70 ui::SelectFileDialog* CreateSelectFileDialog( | 70 ui::SelectFileDialog* CreateSelectFileDialog( |
| 71 ui::SelectFileDialog::Listener* listener, | 71 ui::SelectFileDialog::Listener* listener, |
| 72 ui::SelectFilePolicy* policy) const override; | 72 ui::SelectFilePolicy* policy) const override; |
| 73 | 73 |
| 74 // ui::LinuxUI: | 74 // ui::LinuxUI: |
| 75 void Initialize() override; | 75 void Initialize() override; |
| 76 // TODO(varkha): This should not be necessary once Material Design is on | 76 // TODO(varkha): This should not be necessary once Material Design is on |
| 77 // unconditionally. | 77 // unconditionally. |
| 78 void MaterialDesignControllerReady() override; | 78 void MaterialDesignControllerReady() override; |
| 79 gfx::Image GetThemeImageNamed(int id) const override; | 79 const gfx::Image& GetThemeImageNamed(int id) const override; |
| 80 bool GetTint(int id, color_utils::HSL* tint) const override; | 80 bool GetTint(int id, color_utils::HSL* tint) const override; |
| 81 bool GetColor(int id, SkColor* color) const override; | 81 bool GetColor(int id, SkColor* color) const override; |
| 82 bool HasCustomImage(int id) const override; | 82 bool HasCustomImage(int id) const override; |
| 83 SkColor GetFocusRingColor() const override; | 83 SkColor GetFocusRingColor() const override; |
| 84 SkColor GetThumbActiveColor() const override; | 84 SkColor GetThumbActiveColor() const override; |
| 85 SkColor GetThumbInactiveColor() const override; | 85 SkColor GetThumbInactiveColor() const override; |
| 86 SkColor GetTrackColor() const override; | 86 SkColor GetTrackColor() const override; |
| 87 SkColor GetActiveSelectionBgColor() const override; | 87 SkColor GetActiveSelectionBgColor() const override; |
| 88 SkColor GetActiveSelectionFgColor() const override; | 88 SkColor GetActiveSelectionFgColor() const override; |
| 89 SkColor GetInactiveSelectionBgColor() const override; | 89 SkColor GetInactiveSelectionBgColor() const override; |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 } // namespace libgtk2ui | 245 } // namespace libgtk2ui |
| 246 | 246 |
| 247 // Access point to the GTK2 desktop system. This should be the only symbol that | 247 // Access point to the GTK2 desktop system. This should be the only symbol that |
| 248 // is exported in the library; everything else should be used through the | 248 // is exported in the library; everything else should be used through the |
| 249 // interface, because eventually this .so will be loaded through dlopen at | 249 // interface, because eventually this .so will be loaded through dlopen at |
| 250 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or | 250 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or |
| 251 // QT or whatever. | 251 // QT or whatever. |
| 252 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); | 252 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); |
| 253 | 253 |
| 254 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ | 254 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ |
| OLD | NEW |