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

Unified Diff: chrome/browser/ui/gtk/gtk_theme_service.h

Issue 8632022: Add OVERRIDE to chrome/browser/ui/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/global_menu_bar.h ('k') | chrome/browser/ui/gtk/gtk_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_theme_service.h
diff --git a/chrome/browser/ui/gtk/gtk_theme_service.h b/chrome/browser/ui/gtk/gtk_theme_service.h
index 7d1133b2d160f83a45e35313a827015c7661e895..421670e7c46f18e21e37e10035769e47a4f8746a 100644
--- a/chrome/browser/ui/gtk/gtk_theme_service.h
+++ b/chrome/browser/ui/gtk/gtk_theme_service.h
@@ -9,6 +9,7 @@
#include <map>
#include <vector>
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/themes/theme_service.h"
@@ -58,20 +59,20 @@ class GtkThemeService : public ThemeService {
//
// Sets that we aren't using the system theme, then calls
// ThemeService's implementation.
- virtual void Init(Profile* profile);
- virtual SkBitmap* GetBitmapNamed(int id) const;
- virtual SkColor GetColor(int id) const;
- virtual bool HasCustomImage(int id) const;
- virtual void SetTheme(const Extension* extension);
- virtual void UseDefaultTheme();
- virtual void SetNativeTheme();
- virtual bool UsingDefaultTheme() const;
- virtual bool UsingNativeTheme() const;
+ virtual void Init(Profile* profile) OVERRIDE;
+ virtual SkBitmap* GetBitmapNamed(int id) const OVERRIDE;
+ virtual SkColor GetColor(int id) const OVERRIDE;
+ virtual bool HasCustomImage(int id) const OVERRIDE;
+ virtual void SetTheme(const Extension* extension) OVERRIDE;
+ virtual void UseDefaultTheme() OVERRIDE;
+ virtual void SetNativeTheme() OVERRIDE;
+ virtual bool UsingDefaultTheme() const OVERRIDE;
+ virtual bool UsingNativeTheme() const OVERRIDE;
// Overridden from ThemeService, content::NotificationObserver:
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// Creates a GtkChromeButton instance, registered with this theme provider,
// with a "destroy" signal to remove it from our internal list when it goes
@@ -172,16 +173,16 @@ class GtkThemeService : public ThemeService {
typedef GdkPixbuf*(GtkThemeService::*PixbufProvidingMethod)(int id) const;
// Clears all the GTK color overrides.
- virtual void ClearAllThemeData();
+ virtual void ClearAllThemeData() OVERRIDE;
// Load theme data from preferences, possibly picking colors from GTK.
- virtual void LoadThemePrefs();
+ virtual void LoadThemePrefs() OVERRIDE;
// Let all the browser views know that themes have changed.
- virtual void NotifyThemeChanged();
+ virtual void NotifyThemeChanged() OVERRIDE;
// Additionally frees the CairoCachedSurfaces.
- virtual void FreePlatformCaches();
+ virtual void FreePlatformCaches() OVERRIDE;
// Extracts colors and tints from the GTK theme, both for the
// ThemeService interface and the colors we send to webkit.
« no previous file with comments | « chrome/browser/ui/gtk/global_menu_bar.h ('k') | chrome/browser/ui/gtk/gtk_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698