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

Unified Diff: ui/views/controls/menu/menu_runner_impl.h

Issue 683563002: 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
Index: ui/views/controls/menu/menu_runner_impl.h
diff --git a/ui/views/controls/menu/menu_runner_impl.h b/ui/views/controls/menu/menu_runner_impl.h
index 910f4b76b369694d32189ab2548769dd9eee97b1..7da4a2cf885579ee8af7dcddac3790dc228e2595 100644
--- a/ui/views/controls/menu/menu_runner_impl.h
+++ b/ui/views/controls/menu/menu_runner_impl.h
@@ -27,22 +27,22 @@ class MenuRunnerImpl : public MenuRunnerImplInterface,
public:
explicit MenuRunnerImpl(MenuItemView* menu);
- virtual bool IsRunning() const override;
- virtual void Release() override;
- virtual MenuRunner::RunResult RunMenuAt(Widget* parent,
- MenuButton* button,
- const gfx::Rect& bounds,
- MenuAnchorPosition anchor,
- int32 run_types) override;
- virtual void Cancel() override;
- virtual base::TimeDelta GetClosingEventTime() const override;
+ bool IsRunning() const override;
+ void Release() override;
+ MenuRunner::RunResult RunMenuAt(Widget* parent,
+ MenuButton* button,
+ const gfx::Rect& bounds,
+ MenuAnchorPosition anchor,
+ int32 run_types) override;
+ void Cancel() override;
+ base::TimeDelta GetClosingEventTime() const override;
// MenuControllerDelegate:
- virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) override;
- virtual void SiblingMenuCreated(MenuItemView* menu) override;
+ void DropMenuClosed(NotifyType type, MenuItemView* menu) override;
+ void SiblingMenuCreated(MenuItemView* menu) override;
private:
- virtual ~MenuRunnerImpl();
+ ~MenuRunnerImpl() override;
// Cleans up after the menu is no longer showing. |result| is the menu that
// the user selected, or NULL if nothing was selected.
« no previous file with comments | « ui/views/controls/menu/menu_model_adapter_unittest.cc ('k') | ui/views/controls/menu/menu_runner_impl_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698