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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 03cc0fd97d07f6c1ad4645856573b2ca4fb529c6..f193c9980395579d5a396b6541830afbf33da210 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -242,11 +242,11 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
virtual ~BrowserViewLayoutDelegateImpl() {}
// BrowserViewLayoutDelegate overrides:
- virtual views::View* GetContentsWebView() const OVERRIDE {
+ virtual views::View* GetContentsWebView() const override {
return browser_view_->contents_web_view_;
}
- virtual bool DownloadShelfNeedsLayout() const OVERRIDE {
+ virtual bool DownloadShelfNeedsLayout() const override {
DownloadShelfView* download_shelf = browser_view_->download_shelf_.get();
// Re-layout the shelf either if it is visible or if its close animation
// is currently running.
@@ -254,11 +254,11 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
(download_shelf->IsShowing() || download_shelf->IsClosing());
}
- virtual bool IsTabStripVisible() const OVERRIDE {
+ virtual bool IsTabStripVisible() const override {
return browser_view_->IsTabStripVisible();
}
- virtual gfx::Rect GetBoundsForTabStripInBrowserView() const OVERRIDE {
+ virtual gfx::Rect GetBoundsForTabStripInBrowserView() const override {
gfx::RectF bounds_f(browser_view_->frame()->GetBoundsForTabStrip(
browser_view_->tabstrip()));
views::View::ConvertRectToTarget(browser_view_->parent(), browser_view_,
@@ -266,26 +266,26 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
return gfx::ToEnclosingRect(bounds_f);
}
- virtual int GetTopInsetInBrowserView() const OVERRIDE {
+ virtual int GetTopInsetInBrowserView() const override {
return browser_view_->frame()->GetTopInset() -
browser_view_->y();
}
- virtual int GetThemeBackgroundXInset() const OVERRIDE {
+ virtual int GetThemeBackgroundXInset() const override {
// TODO(pkotwicz): Return the inset with respect to the left edge of the
// BrowserView.
return browser_view_->frame()->GetThemeBackgroundXInset();
}
- virtual bool IsToolbarVisible() const OVERRIDE {
+ virtual bool IsToolbarVisible() const override {
return browser_view_->IsToolbarVisible();
}
- virtual bool IsBookmarkBarVisible() const OVERRIDE {
+ virtual bool IsBookmarkBarVisible() const override {
return browser_view_->IsBookmarkBarVisible();
}
- virtual FullscreenExitBubbleViews* GetFullscreenExitBubble() const OVERRIDE {
+ virtual FullscreenExitBubbleViews* GetFullscreenExitBubble() const override {
return browser_view_->fullscreen_exit_bubble();
}
@@ -306,7 +306,7 @@ class BookmarkExtensionBackground : public views::Background {
Browser* browser);
// View methods overridden from views:Background.
- virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE;
+ virtual void Paint(gfx::Canvas* canvas, views::View* view) const override;
private:
BrowserView* browser_view_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/browser_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698