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

Side by Side Diff: chrome/browser/themes/browser_theme_provider.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_THEMES_BROWSER_THEME_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_THEMES_BROWSER_THEME_PROVIDER_H_
6 #define CHROME_BROWSER_THEMES_BROWSER_THEME_PROVIDER_H_ 6 #define CHROME_BROWSER_THEMES_BROWSER_THEME_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 #endif 152 #endif
153 153
154 // Set the current theme to the theme defined in |extension|. 154 // Set the current theme to the theme defined in |extension|.
155 virtual void SetTheme(const Extension* extension); 155 virtual void SetTheme(const Extension* extension);
156 156
157 // Reset the theme to default. 157 // Reset the theme to default.
158 virtual void UseDefaultTheme(); 158 virtual void UseDefaultTheme();
159 159
160 // Set the current theme to the native theme. On some platforms, the native 160 // Set the current theme to the native theme. On some platforms, the native
161 // theme is the default theme. 161 // theme is the default theme.
162 virtual void SetNativeTheme() { UseDefaultTheme(); } 162 virtual void SetNativeTheme();
163 163
164 // Whether we're using the chrome default theme. Virtual so linux can check 164 // Whether we're using the chrome default theme. Virtual so linux can check
165 // if we're using the GTK theme. 165 // if we're using the GTK theme.
166 virtual bool UsingDefaultTheme(); 166 virtual bool UsingDefaultTheme();
167 167
168 // Gets the id of the last installed theme. (The theme may have been further 168 // Gets the id of the last installed theme. (The theme may have been further
169 // locally customized.) 169 // locally customized.)
170 std::string GetThemeID() const; 170 std::string GetThemeID() const;
171 171
172 // This class needs to keep track of the number of theme infobars so that we 172 // This class needs to keep track of the number of theme infobars so that we
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 scoped_refptr<BrowserThemePack> theme_pack_; 276 scoped_refptr<BrowserThemePack> theme_pack_;
277 277
278 // The number of infobars currently displayed. 278 // The number of infobars currently displayed.
279 int number_of_infobars_; 279 int number_of_infobars_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider); 281 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider);
282 }; 282 };
283 283
284 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PROVIDER_H_ 284 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/infobar_delegate.cc ('k') | chrome/browser/themes/browser_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698