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

Unified Diff: chrome/browser/ui/views/dropdown_bar_host.h

Issue 680133002: Standardize usage of virtual/override/final specifiers. (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
« no previous file with comments | « chrome/browser/ui/views/detachable_toolbar_view.h ('k') | chrome/browser/ui/views/dropdown_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/dropdown_bar_host.h
diff --git a/chrome/browser/ui/views/dropdown_bar_host.h b/chrome/browser/ui/views/dropdown_bar_host.h
index 58fd292b61ab29456e2885eaa2aac6a1ad279b9f..e37f5bda5458e4ec16111de66b54438e7c1b8197 100644
--- a/chrome/browser/ui/views/dropdown_bar_host.h
+++ b/chrome/browser/ui/views/dropdown_bar_host.h
@@ -45,7 +45,7 @@ class DropdownBarHost : public ui::AcceleratorTarget,
public gfx::AnimationDelegate {
public:
explicit DropdownBarHost(BrowserView* browser_view);
- virtual ~DropdownBarHost();
+ ~DropdownBarHost() override;
// Initializes the DropdownBarHost. This creates the widget that |view| paints
// into.
@@ -79,18 +79,18 @@ class DropdownBarHost : public ui::AcceleratorTarget,
virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) = 0;
// Overridden from views::FocusChangeListener:
- virtual void OnWillChangeFocus(views::View* focused_before,
- views::View* focused_now) override;
- virtual void OnDidChangeFocus(views::View* focused_before,
- views::View* focused_now) override;
+ void OnWillChangeFocus(views::View* focused_before,
+ views::View* focused_now) override;
+ void OnDidChangeFocus(views::View* focused_before,
+ views::View* focused_now) override;
// Overridden from ui::AcceleratorTarget:
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) = 0;
virtual bool CanHandleAccelerators() const = 0;
// gfx::AnimationDelegate implementation:
- virtual void AnimationProgressed(const gfx::Animation* animation) override;
- virtual void AnimationEnded(const gfx::Animation* animation) override;
+ void AnimationProgressed(const gfx::Animation* animation) override;
+ void AnimationEnded(const gfx::Animation* animation) override;
// During testing we can disable animations by setting this flag to true,
// so that opening and closing the dropdown bar is shown instantly, instead of
« no previous file with comments | « chrome/browser/ui/views/detachable_toolbar_view.h ('k') | chrome/browser/ui/views/dropdown_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698