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

Unified Diff: chrome/browser/tabs/default_tab_handler.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (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/tab_contents/thumbnail_generator.h ('k') | chrome/browser/tabs/pinned_tab_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/default_tab_handler.h
diff --git a/chrome/browser/tabs/default_tab_handler.h b/chrome/browser/tabs/default_tab_handler.h
index cc279ad9fcde14f8c5842953b7894255df545584..6ce3722f2a97ce715eff7b2c4d1d68fcf580fbbf 100644
--- a/chrome/browser/tabs/default_tab_handler.h
+++ b/chrome/browser/tabs/default_tab_handler.h
@@ -24,59 +24,62 @@ class DefaultTabHandler : public TabHandler,
virtual ~DefaultTabHandler();
// Overridden from TabHandler:
- virtual TabStripModel* GetTabStripModel() const;
+ virtual TabStripModel* GetTabStripModel() const OVERRIDE;
// Overridden from TabStripModelDelegate:
- virtual TabContentsWrapper* AddBlankTab(bool foreground);
- virtual TabContentsWrapper* AddBlankTabAt(int index, bool foreground);
+ virtual TabContentsWrapper* AddBlankTab(bool foreground) OVERRIDE;
+ virtual TabContentsWrapper* AddBlankTabAt(int index,
+ bool foreground) OVERRIDE;
virtual Browser* CreateNewStripWithContents(
TabContentsWrapper* detached_contents,
const gfx::Rect& window_bounds,
const DockInfo& dock_info,
- bool maximize);
- virtual int GetDragActions() const;
+ bool maximize) OVERRIDE;
+ virtual int GetDragActions() const OVERRIDE;
virtual TabContentsWrapper* CreateTabContentsForURL(
const GURL& url,
const GURL& referrer,
Profile* profile,
content::PageTransition transition,
bool defer_load,
- SiteInstance* instance) const;
- virtual bool CanDuplicateContentsAt(int index);
- virtual void DuplicateContentsAt(int index);
- virtual void CloseFrameAfterDragSession();
- virtual void CreateHistoricalTab(TabContentsWrapper* contents);
- virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents);
- virtual bool CanCloseContents(std::vector<int>* indices);
- virtual bool CanBookmarkAllTabs() const;
- virtual void BookmarkAllTabs();
- virtual bool CanCloseTab() const;
- virtual bool CanRestoreTab();
- virtual void RestoreTab();
- virtual bool LargeIconsPermitted() const;
+ SiteInstance* instance) const OVERRIDE;
+ virtual bool CanDuplicateContentsAt(int index) OVERRIDE;
+ virtual void DuplicateContentsAt(int index) OVERRIDE;
+ virtual void CloseFrameAfterDragSession() OVERRIDE;
+ virtual void CreateHistoricalTab(TabContentsWrapper* contents) OVERRIDE;
+ virtual bool RunUnloadListenerBeforeClosing(
+ TabContentsWrapper* contents) OVERRIDE;
+ virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE;
+ virtual bool CanBookmarkAllTabs() const OVERRIDE;
+ virtual void BookmarkAllTabs() OVERRIDE;
+ virtual bool CanCloseTab() const OVERRIDE;
+ virtual bool CanRestoreTab() OVERRIDE;
+ virtual void RestoreTab() OVERRIDE;
+ virtual bool LargeIconsPermitted() const OVERRIDE;
// Overridden from TabStripModelObserver:
virtual void TabInsertedAt(TabContentsWrapper* contents,
int index,
- bool foreground);
+ bool foreground) OVERRIDE;
virtual void TabClosingAt(TabStripModel* tab_strip_model,
TabContentsWrapper* contents,
- int index);
- virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
- virtual void TabDeactivated(TabContentsWrapper* contents);
+ int index) OVERRIDE;
+ virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE;
+ virtual void TabDeactivated(TabContentsWrapper* contents) OVERRIDE;
virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
int index,
- bool user_gesture);
+ bool user_gesture) OVERRIDE;
virtual void TabMoved(TabContentsWrapper* contents,
int from_index,
- int to_index);
+ int to_index) OVERRIDE;
virtual void TabReplacedAt(TabStripModel* tab_strip_model,
TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
- int index);
- virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
- virtual void TabStripEmpty();
+ int index) OVERRIDE;
+ virtual void TabPinnedStateChanged(TabContentsWrapper* contents,
+ int index) OVERRIDE;
+ virtual void TabStripEmpty() OVERRIDE;
private:
TabHandlerDelegate* delegate_;
« no previous file with comments | « chrome/browser/tab_contents/thumbnail_generator.h ('k') | chrome/browser/tabs/pinned_tab_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698