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

Unified Diff: ui/views/controls/menu/menu_host.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
« no previous file with comments | « ui/views/controls/menu/menu_event_dispatcher_linux.h ('k') | ui/views/controls/menu/menu_host_root_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_host.h
diff --git a/ui/views/controls/menu/menu_host.h b/ui/views/controls/menu/menu_host.h
index 31ad7de02cf869947ed680561a97cba943927e54..f53495fb79f6986c54796cc09e84c150d079385e 100644
--- a/ui/views/controls/menu/menu_host.h
+++ b/ui/views/controls/menu/menu_host.h
@@ -26,7 +26,7 @@ class Widget;
class MenuHost : public Widget {
public:
explicit MenuHost(SubmenuView* submenu);
- virtual ~MenuHost();
+ ~MenuHost() override;
// Initializes and shows the MenuHost.
// WARNING: |parent| may be NULL.
@@ -56,12 +56,12 @@ class MenuHost : public Widget {
private:
// Overridden from Widget:
- virtual internal::RootView* CreateRootView() override;
- virtual void OnMouseCaptureLost() override;
- virtual void OnNativeWidgetDestroyed() override;
- virtual void OnOwnerClosing() override;
- virtual void OnDragWillStart() override;
- virtual void OnDragComplete() override;
+ internal::RootView* CreateRootView() override;
+ void OnMouseCaptureLost() override;
+ void OnNativeWidgetDestroyed() override;
+ void OnOwnerClosing() override;
+ void OnDragWillStart() override;
+ void OnDragComplete() override;
// The view we contain.
SubmenuView* submenu_;
« no previous file with comments | « ui/views/controls/menu/menu_event_dispatcher_linux.h ('k') | ui/views/controls/menu/menu_host_root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698