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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.h

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/download/download_shelf_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index 8f4f22e0402e9f13a4ff61c7ba8d76016ef9ce45..7ba927fd3c9c7387dcd2f98cba3b2e16ba900dab 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -60,32 +60,32 @@ class DownloadShelfView : public views::AccessiblePaneView,
BrowserView* get_parent() { return parent_; }
// Implementation of View.
- virtual gfx::Size GetPreferredSize() const OVERRIDE;
- virtual void Layout() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const override;
+ virtual void Layout() override;
virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) OVERRIDE;
+ const ViewHierarchyChangedDetails& details) override;
// Implementation of gfx::AnimationDelegate.
- virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
- virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
+ virtual void AnimationProgressed(const gfx::Animation* animation) override;
+ virtual void AnimationEnded(const gfx::Animation* animation) override;
// Implementation of views::LinkListener.
// Invoked when the user clicks the 'show all downloads' link button.
- virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
+ virtual void LinkClicked(views::Link* source, int event_flags) override;
// Implementation of ButtonListener.
// Invoked when the user clicks the close button. Asks the browser to
// hide the download shelf.
virtual void ButtonPressed(views::Button* button,
- const ui::Event& event) OVERRIDE;
+ const ui::Event& event) override;
// Implementation of DownloadShelf.
- virtual bool IsShowing() const OVERRIDE;
- virtual bool IsClosing() const OVERRIDE;
- virtual Browser* browser() const OVERRIDE;
+ virtual bool IsShowing() const override;
+ virtual bool IsClosing() const override;
+ virtual Browser* browser() const override;
- // Implementation of MouseWatcherListener OVERRIDE.
- virtual void MouseMovedOutOfHost() OVERRIDE;
+ // Implementation of MouseWatcherListener override.
+ virtual void MouseMovedOutOfHost() override;
// Removes a specified download view. The supplied view is deleted after
// it's removed.
@@ -93,12 +93,12 @@ class DownloadShelfView : public views::AccessiblePaneView,
protected:
// Implementation of DownloadShelf.
- virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE;
- virtual void DoShow() OVERRIDE;
- virtual void DoClose(CloseReason reason) OVERRIDE;
+ virtual void DoAddDownload(content::DownloadItem* download) override;
+ virtual void DoShow() override;
+ virtual void DoClose(CloseReason reason) override;
// From AccessiblePaneView
- virtual views::View* GetDefaultFocusableChild() OVERRIDE;
+ virtual views::View* GetDefaultFocusableChild() override;
private:
// Adds a View representing a download to this DownloadShelfView.
@@ -107,7 +107,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
void AddDownloadView(DownloadItemView* view);
// Paints the border.
- virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaintBorder(gfx::Canvas* canvas) override;
// Returns true if the shelf is wide enough to show the first download item.
bool CanFitFirstDownloadItem();
@@ -116,7 +116,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
void UpdateColorsFromTheme();
// Overridden from views::View.
- virtual void OnThemeChanged() OVERRIDE;
+ virtual void OnThemeChanged() override;
// Called when the "close shelf" animation ended.
void Closed();

Powered by Google App Engine
This is Rietveld 408576698