Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.h

Issue 243633003: use the right NativeTheme on bubbles + dialogs on Aura Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: good enough for now Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual bool HasCustomImage(int id) const OVERRIDE; 83 virtual bool HasCustomImage(int id) const OVERRIDE;
84 virtual SkColor GetFocusRingColor() const OVERRIDE; 84 virtual SkColor GetFocusRingColor() const OVERRIDE;
85 virtual SkColor GetThumbActiveColor() const OVERRIDE; 85 virtual SkColor GetThumbActiveColor() const OVERRIDE;
86 virtual SkColor GetThumbInactiveColor() const OVERRIDE; 86 virtual SkColor GetThumbInactiveColor() const OVERRIDE;
87 virtual SkColor GetTrackColor() const OVERRIDE; 87 virtual SkColor GetTrackColor() const OVERRIDE;
88 virtual SkColor GetActiveSelectionBgColor() const OVERRIDE; 88 virtual SkColor GetActiveSelectionBgColor() const OVERRIDE;
89 virtual SkColor GetActiveSelectionFgColor() const OVERRIDE; 89 virtual SkColor GetActiveSelectionFgColor() const OVERRIDE;
90 virtual SkColor GetInactiveSelectionBgColor() const OVERRIDE; 90 virtual SkColor GetInactiveSelectionBgColor() const OVERRIDE;
91 virtual SkColor GetInactiveSelectionFgColor() const OVERRIDE; 91 virtual SkColor GetInactiveSelectionFgColor() const OVERRIDE;
92 virtual double GetCursorBlinkInterval() const OVERRIDE; 92 virtual double GetCursorBlinkInterval() const OVERRIDE;
93 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; 93 virtual ui::NativeTheme* GetNativeTheme(aura::Window* window) const OVERRIDE;
94 virtual bool GetDefaultUsesSystemTheme() const OVERRIDE; 94 virtual bool GetDefaultUsesSystemTheme() const OVERRIDE;
95 virtual void SetDownloadCount(int count) const OVERRIDE; 95 virtual void SetDownloadCount(int count) const OVERRIDE;
96 virtual void SetProgressFraction(float percentage) const OVERRIDE; 96 virtual void SetProgressFraction(float percentage) const OVERRIDE;
97 virtual bool IsStatusIconSupported() const OVERRIDE; 97 virtual bool IsStatusIconSupported() const OVERRIDE;
98 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon( 98 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon(
99 const gfx::ImageSkia& image, 99 const gfx::ImageSkia& image,
100 const base::string16& tool_tip) const OVERRIDE; 100 const base::string16& tool_tip) const OVERRIDE;
101 virtual gfx::Image GetIconForContentType( 101 virtual gfx::Image GetIconForContentType(
102 const std::string& content_type, int size) const OVERRIDE; 102 const std::string& content_type, int size) const OVERRIDE;
103 virtual scoped_ptr<views::Border> CreateNativeBorder( 103 virtual scoped_ptr<views::Border> CreateNativeBorder(
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 } // namespace libgtk2ui 265 } // namespace libgtk2ui
266 266
267 // Access point to the GTK2 desktop system. This should be the only symbol that 267 // Access point to the GTK2 desktop system. This should be the only symbol that
268 // is exported in the library; everything else should be used through the 268 // is exported in the library; everything else should be used through the
269 // interface, because eventually this .so will be loaded through dlopen at 269 // interface, because eventually this .so will be loaded through dlopen at
270 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or 270 // runtime so our main binary can conditionally load GTK2 or GTK3 or EFL or
271 // QT or whatever. 271 // QT or whatever.
272 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); 272 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI();
273 273
274 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 274 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698