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

Unified Diff: chrome/browser/ui/browser_tab_strip_model_delegate.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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/browser_tab_strip_model_delegate.h
diff --git a/chrome/browser/ui/browser_tab_strip_model_delegate.h b/chrome/browser/ui/browser_tab_strip_model_delegate.h
index d8cf48edbfe8311c39ea0203ef6623602024a493..40a2f619075b013f0851fd089f1e77122d3eb4d4 100644
--- a/chrome/browser/ui/browser_tab_strip_model_delegate.h
+++ b/chrome/browser/ui/browser_tab_strip_model_delegate.h
@@ -16,30 +16,27 @@ namespace chrome {
class BrowserTabStripModelDelegate : public TabStripModelDelegate {
public:
explicit BrowserTabStripModelDelegate(Browser* browser);
- virtual ~BrowserTabStripModelDelegate();
+ ~BrowserTabStripModelDelegate() override;
private:
// Overridden from TabStripModelDelegate:
- virtual void AddTabAt(const GURL& url,
- int index,
- bool foreground) override;
- virtual Browser* CreateNewStripWithContents(
+ void AddTabAt(const GURL& url, int index, bool foreground) override;
+ Browser* CreateNewStripWithContents(
const std::vector<NewStripContents>& contentses,
const gfx::Rect& window_bounds,
bool maximize) override;
- virtual void WillAddWebContents(content::WebContents* contents) override;
- virtual int GetDragActions() const override;
- virtual bool CanDuplicateContentsAt(int index) override;
- virtual void DuplicateContentsAt(int index) override;
- virtual void CreateHistoricalTab(content::WebContents* contents) override;
- virtual bool RunUnloadListenerBeforeClosing(
+ void WillAddWebContents(content::WebContents* contents) override;
+ int GetDragActions() const override;
+ bool CanDuplicateContentsAt(int index) override;
+ void DuplicateContentsAt(int index) override;
+ void CreateHistoricalTab(content::WebContents* contents) override;
+ bool RunUnloadListenerBeforeClosing(content::WebContents* contents) override;
+ bool ShouldRunUnloadListenerBeforeClosing(
content::WebContents* contents) override;
- virtual bool ShouldRunUnloadListenerBeforeClosing(
- content::WebContents* contents) override;
- virtual bool CanBookmarkAllTabs() const override;
- virtual void BookmarkAllTabs() override;
- virtual RestoreTabType GetRestoreTabType() override;
- virtual void RestoreTab() override;
+ bool CanBookmarkAllTabs() const override;
+ void BookmarkAllTabs() override;
+ RestoreTabType GetRestoreTabType() override;
+ void RestoreTab() override;
void CloseFrame();

Powered by Google App Engine
This is Rietveld 408576698