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

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

Issue 290573003: Make tooltips toplevel windows on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | chrome/browser/ui/libgtk2ui/native_theme_gtk2.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_NATIVE_THEME_GTK2_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_
6 #define CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ 6 #define CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_
7 7
8 #include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h" 8 #include "chrome/browser/ui/libgtk2ui/owned_widget_gtk2.h"
9 #include "ui/native_theme/native_theme_base.h" 9 #include "ui/native_theme/native_theme_base.h"
10 10
(...skipping 29 matching lines...) Expand all
40 // Implementation of GetSystemColor. 40 // Implementation of GetSystemColor.
41 GdkColor GetSystemGdkColor(ColorId color_id) const; 41 GdkColor GetSystemGdkColor(ColorId color_id) const;
42 42
43 // Returns styles associated with various widget types. 43 // Returns styles associated with various widget types.
44 GtkWidget* GetRealizedWindow() const; 44 GtkWidget* GetRealizedWindow() const;
45 GtkStyle* GetWindowStyle() const; 45 GtkStyle* GetWindowStyle() const;
46 GtkStyle* GetEntryStyle() const; 46 GtkStyle* GetEntryStyle() const;
47 GtkStyle* GetLabelStyle() const; 47 GtkStyle* GetLabelStyle() const;
48 GtkStyle* GetButtonStyle() const; 48 GtkStyle* GetButtonStyle() const;
49 GtkStyle* GetTreeStyle() const; 49 GtkStyle* GetTreeStyle() const;
50 GtkStyle* GetTooltipStyle() const;
50 GtkStyle* GetMenuStyle() const; 51 GtkStyle* GetMenuStyle() const;
51 GtkStyle* GetMenuItemStyle() const; 52 GtkStyle* GetMenuItemStyle() const;
52 53
53 mutable GtkWidget* fake_window_; 54 mutable GtkWidget* fake_window_;
55 mutable GtkWidget* fake_tooltip_;
54 mutable OwnedWidgetGtk fake_entry_; 56 mutable OwnedWidgetGtk fake_entry_;
55 mutable OwnedWidgetGtk fake_label_; 57 mutable OwnedWidgetGtk fake_label_;
56 mutable OwnedWidgetGtk fake_button_; 58 mutable OwnedWidgetGtk fake_button_;
57 mutable OwnedWidgetGtk fake_tree_; 59 mutable OwnedWidgetGtk fake_tree_;
58 60
59 mutable OwnedWidgetGtk fake_menu_; 61 mutable OwnedWidgetGtk fake_menu_;
60 mutable GtkWidget* fake_menu_item_; 62 mutable GtkWidget* fake_menu_item_;
61 63
62 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk2); 64 DISALLOW_COPY_AND_ASSIGN(NativeThemeGtk2);
63 }; 65 };
64 66
65 } // namespace libgtk2ui 67 } // namespace libgtk2ui
66 68
67 #endif // CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_ 69 #endif // CHROME_BROWSER_UI_LIBGTK2UI_NATIVE_THEME_GTK2_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698