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

Side by Side Diff: views/widget/widget.h

Issue 115729: Really theme the find bar. We were previously getting the DefaultThemeProvide... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/views/frame/browser_frame_win.cc ('k') | views/widget/widget_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_WIDGET_WIDGET_H_ 5 #ifndef VIEWS_WIDGET_WIDGET_H_
6 #define VIEWS_WIDGET_WIDGET_H_ 6 #define VIEWS_WIDGET_WIDGET_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 class ThemeProvider; 10 class ThemeProvider;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Accelerator* accelerator) = 0; 97 Accelerator* accelerator) = 0;
98 98
99 // Returns the Window containing this Widget, or NULL if not contained in a 99 // Returns the Window containing this Widget, or NULL if not contained in a
100 // window. 100 // window.
101 virtual Window* GetWindow() { return NULL; } 101 virtual Window* GetWindow() { return NULL; }
102 virtual const Window* GetWindow() const { return NULL; } 102 virtual const Window* GetWindow() const { return NULL; }
103 103
104 // Get the theme provider. 104 // Get the theme provider.
105 virtual ThemeProvider* GetThemeProvider() const { return NULL; } 105 virtual ThemeProvider* GetThemeProvider() const { return NULL; }
106 106
107 // Get the dialog theme provider; this is necessary for when a dialog has 107 // Get the default theme provider; this is necessary for when a widget has
108 // no profile (and ThemeProvider) associated with it. The dialog theme 108 // no profile (and ThemeProvider) associated with it. The default theme
109 // provider provides a default set of bitmaps that such dialogs can use. 109 // provider provides a default set of bitmaps that such widgets can use.
110 virtual ThemeProvider* GetDialogThemeProvider() { return NULL; } 110 virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; }
111 }; 111 };
112 112
113 } // namespace views 113 } // namespace views
114 114
115 #endif // VIEWS_WIDGET_WIDGET_H_ 115 #endif // VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_win.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698