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

Unified Diff: chrome/browser/ui/gtk/tabs/tab_gtk.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/tabs/dragged_view_gtk.h ('k') | chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/tabs/tab_gtk.h
diff --git a/chrome/browser/ui/gtk/tabs/tab_gtk.h b/chrome/browser/ui/gtk/tabs/tab_gtk.h
index 77a56bed974747ce13069e8309e86f4b100623e6..85e24fd89bdf4c34fe1d19e61851b20aba5c9141 100644
--- a/chrome/browser/ui/gtk/tabs/tab_gtk.h
+++ b/chrome/browser/ui/gtk/tabs/tab_gtk.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
#include "chrome/browser/tabs/tab_strip_model.h"
@@ -114,20 +115,22 @@ class TabGtk : public TabRendererGtk,
void Raise() const;
// TabRendererGtk overrides:
- virtual bool IsActive() const;
- virtual bool IsSelected() const;
- virtual bool IsVisible() const;
- virtual void SetVisible(bool visible) const;
- virtual void CloseButtonClicked();
- virtual void UpdateData(TabContents* contents, bool app, bool loading_only);
- virtual void SetBounds(const gfx::Rect& bounds);
+ virtual bool IsActive() const OVERRIDE;
+ virtual bool IsSelected() const OVERRIDE;
+ virtual bool IsVisible() const OVERRIDE;
+ virtual void SetVisible(bool visible) const OVERRIDE;
+ virtual void CloseButtonClicked() OVERRIDE;
+ virtual void UpdateData(TabContents* contents,
+ bool app,
+ bool loading_only) OVERRIDE;
+ virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
private:
class TabGtkObserverHelper;
// MessageLoop::Observer implementation:
- virtual void WillProcessEvent(GdkEvent* event);
- virtual void DidProcessEvent(GdkEvent* event);
+ virtual void WillProcessEvent(GdkEvent* event) OVERRIDE;
+ virtual void DidProcessEvent(GdkEvent* event) OVERRIDE;
// button-press-event handler that handles mouse clicks.
CHROMEGTK_CALLBACK_1(TabGtk, gboolean, OnButtonPressEvent, GdkEventButton*);
« no previous file with comments | « chrome/browser/ui/gtk/tabs/dragged_view_gtk.h ('k') | chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698