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

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

Issue 171413002: linux_aura: Keep GTK state from leaking between profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile. Created 6 years, 10 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
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_border.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual SkColor GetFocusRingColor() const OVERRIDE; 82 virtual SkColor GetFocusRingColor() const OVERRIDE;
83 virtual SkColor GetThumbActiveColor() const OVERRIDE; 83 virtual SkColor GetThumbActiveColor() const OVERRIDE;
84 virtual SkColor GetThumbInactiveColor() const OVERRIDE; 84 virtual SkColor GetThumbInactiveColor() const OVERRIDE;
85 virtual SkColor GetTrackColor() const OVERRIDE; 85 virtual SkColor GetTrackColor() const OVERRIDE;
86 virtual SkColor GetActiveSelectionBgColor() const OVERRIDE; 86 virtual SkColor GetActiveSelectionBgColor() const OVERRIDE;
87 virtual SkColor GetActiveSelectionFgColor() const OVERRIDE; 87 virtual SkColor GetActiveSelectionFgColor() const OVERRIDE;
88 virtual SkColor GetInactiveSelectionBgColor() const OVERRIDE; 88 virtual SkColor GetInactiveSelectionBgColor() const OVERRIDE;
89 virtual SkColor GetInactiveSelectionFgColor() const OVERRIDE; 89 virtual SkColor GetInactiveSelectionFgColor() const OVERRIDE;
90 virtual double GetCursorBlinkInterval() const OVERRIDE; 90 virtual double GetCursorBlinkInterval() const OVERRIDE;
91 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE; 91 virtual ui::NativeTheme* GetNativeTheme() const OVERRIDE;
92 virtual void SetUseSystemTheme(bool use_system_theme) OVERRIDE;
93 virtual bool GetUseSystemTheme() const OVERRIDE;
94 virtual bool GetDefaultUsesSystemTheme() const OVERRIDE; 92 virtual bool GetDefaultUsesSystemTheme() const OVERRIDE;
95 virtual void SetDownloadCount(int count) const OVERRIDE; 93 virtual void SetDownloadCount(int count) const OVERRIDE;
96 virtual void SetProgressFraction(float percentage) const OVERRIDE; 94 virtual void SetProgressFraction(float percentage) const OVERRIDE;
97 virtual bool IsStatusIconSupported() const OVERRIDE; 95 virtual bool IsStatusIconSupported() const OVERRIDE;
98 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon( 96 virtual scoped_ptr<views::StatusIconLinux> CreateLinuxStatusIcon(
99 const gfx::ImageSkia& image, 97 const gfx::ImageSkia& image,
100 const base::string16& tool_tip) const OVERRIDE; 98 const base::string16& tool_tip) const OVERRIDE;
101 virtual gfx::Image GetIconForContentType( 99 virtual gfx::Image GetIconForContentType(
102 const std::string& content_type, int size) const OVERRIDE; 100 const std::string& content_type, int size) const OVERRIDE;
103 virtual scoped_ptr<views::Border> CreateNativeBorder( 101 virtual scoped_ptr<views::Border> CreateNativeBorder(
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } // namespace libgtk2ui 245 } // namespace libgtk2ui
248 246
249 // 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
250 // 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
251 // interface, because eventually this .so will be loaded through dlopen at 249 // interface, because eventually this .so will be loaded through dlopen at
252 // 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
253 // QT or whatever. 251 // QT or whatever.
254 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI(); 252 LIBGTK2UI_EXPORT views::LinuxUI* BuildGtk2UI();
255 253
256 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_ 254 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_border.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698