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

Unified Diff: chrome/browser/ui/gtk/custom_button.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
Index: chrome/browser/ui/gtk/custom_button.h
diff --git a/chrome/browser/ui/gtk/custom_button.h b/chrome/browser/ui/gtk/custom_button.h
index e76aaabe51988f1c4503124777897fa7667f2c65..4fb749c7293f84c8b64897cd44ae6b011c726d70 100644
--- a/chrome/browser/ui/gtk/custom_button.h
+++ b/chrome/browser/ui/gtk/custom_button.h
@@ -8,6 +8,7 @@
#include <gtk/gtk.h>
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -59,7 +60,7 @@ class CustomDrawButtonBase : public content::NotificationObserver {
// Provide content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
private:
// Get the CairoCachedSurface from |surfaces_| for |state|.
@@ -112,7 +113,7 @@ class CustomDrawHoverController : public ui::AnimationDelegate {
}
private:
- virtual void AnimationProgressed(const ui::Animation* animation);
+ virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
CHROMEGTK_CALLBACK_1(CustomDrawHoverController, gboolean, OnEnter,
GdkEventCrossing*);
@@ -195,7 +196,7 @@ class CustomDrawButton : public content::NotificationObserver {
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// Returns a standard close button. Pass a |theme_provider| to use Gtk icons
// in Gtk rendering mode.
« no previous file with comments | « chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h ('k') | chrome/browser/ui/gtk/custom_drag.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698