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

Unified Diff: chrome/browser/ui/gtk/tabs/tab_strip_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/tab_renderer_gtk.h ('k') | chrome/browser/ui/gtk/task_manager_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_strip_gtk.h
diff --git a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
index 096dcc536b75e32fb215d4f0f9d1d8426c2cb945..ee5da445c3ac3e20b76b942b3ea271bf6cc4396b 100644
--- a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
+++ b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
#include "base/task.h"
@@ -98,60 +99,64 @@ class TabStripGtk : public TabStripModelObserver,
void SetVerticalOffset(int offset);
// TabstripOriginProvider implementation -------------------------------------
- virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget);
+ virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget) OVERRIDE;
// ViewIDUtil::Delegate implementation ---------------------------------------
- virtual GtkWidget* GetWidgetForViewID(ViewID id);
+ virtual GtkWidget* GetWidgetForViewID(ViewID id) OVERRIDE;
protected:
// TabStripModelObserver implementation:
virtual void TabInsertedAt(TabContentsWrapper* contents,
int index,
- bool foreground);
- virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
+ bool foreground) OVERRIDE;
+ virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE;
virtual void TabMoved(TabContentsWrapper* contents,
int from_index,
- int to_index);
+ int to_index) OVERRIDE;
virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
int index,
- bool user_gesture);
- virtual void TabSelectionChanged(TabStripModel* tab_strip_model,
- const TabStripSelectionModel& old_model);
+ bool user_gesture) OVERRIDE;
+ virtual void TabSelectionChanged(
+ TabStripModel* tab_strip_model,
+ const TabStripSelectionModel& old_model) OVERRIDE;
virtual void TabChangedAt(TabContentsWrapper* contents, int index,
- TabChangeType change_type);
+ TabChangeType change_type) OVERRIDE;
virtual void TabReplacedAt(TabStripModel* tab_strip_model,
TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
- int index);
- virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index);
+ int index) OVERRIDE;
+ virtual void TabMiniStateChanged(TabContentsWrapper* contents,
+ int index) OVERRIDE;
virtual void TabBlockedStateChanged(TabContentsWrapper* contents,
- int index);
+ int index) OVERRIDE;
// TabGtk::TabDelegate implementation:
- virtual bool IsTabActive(const TabGtk* tab) const;
- virtual bool IsTabSelected(const TabGtk* tab) const;
- virtual bool IsTabPinned(const TabGtk* tab) const;
- virtual bool IsTabDetached(const TabGtk* tab) const;
- virtual void ActivateTab(TabGtk* tab);
- virtual void ToggleTabSelection(TabGtk* tab);
- virtual void ExtendTabSelection(TabGtk* tab);
- virtual void CloseTab(TabGtk* tab);
+ virtual bool IsTabActive(const TabGtk* tab) const OVERRIDE;
+ virtual bool IsTabSelected(const TabGtk* tab) const OVERRIDE;
+ virtual bool IsTabPinned(const TabGtk* tab) const OVERRIDE;
+ virtual bool IsTabDetached(const TabGtk* tab) const OVERRIDE;
+ virtual void ActivateTab(TabGtk* tab) OVERRIDE;
+ virtual void ToggleTabSelection(TabGtk* tab) OVERRIDE;
+ virtual void ExtendTabSelection(TabGtk* tab) OVERRIDE;
+ virtual void CloseTab(TabGtk* tab) OVERRIDE;
virtual bool IsCommandEnabledForTab(
- TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const;
+ TabStripModel::ContextMenuCommand command_id,
+ const TabGtk* tab) const OVERRIDE;
virtual void ExecuteCommandForTab(
- TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
+ TabStripModel::ContextMenuCommand command_id, TabGtk* tab) OVERRIDE;
virtual void StartHighlightTabsForCommand(
- TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
+ TabStripModel::ContextMenuCommand command_id, TabGtk* tab) OVERRIDE;
virtual void StopHighlightTabsForCommand(
- TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
- virtual void StopAllHighlighting();
- virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point);
- virtual void ContinueDrag(GdkDragContext* context);
- virtual bool EndDrag(bool canceled);
- virtual bool HasAvailableDragActions() const;
- virtual GtkThemeService* GetThemeProvider();
- virtual TabStripMenuController* GetTabStripMenuControllerForTab(TabGtk* tab);
+ TabStripModel::ContextMenuCommand command_id, TabGtk* tab) OVERRIDE;
+ virtual void StopAllHighlighting() OVERRIDE;
+ virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point) OVERRIDE;
+ virtual void ContinueDrag(GdkDragContext* context) OVERRIDE;
+ virtual bool EndDrag(bool canceled) OVERRIDE;
+ virtual bool HasAvailableDragActions() const OVERRIDE;
+ virtual GtkThemeService* GetThemeProvider() OVERRIDE;
+ virtual TabStripMenuController* GetTabStripMenuControllerForTab(
+ TabGtk* tab) OVERRIDE;
// MessageLoop::Observer implementation:
virtual void WillProcessEvent(GdkEvent* event) OVERRIDE;
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h ('k') | chrome/browser/ui/gtk/task_manager_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698