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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.h

Issue 679233002: 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/touchui/touch_editing_menu.h ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/touchui/touch_selection_controller_impl.h
diff --git a/ui/views/touchui/touch_selection_controller_impl.h b/ui/views/touchui/touch_selection_controller_impl.h
index 158666cefc446e2597bdd345843041c03553f93b..a5964a4b887a635331e95d1f98915ee2856f94f7 100644
--- a/ui/views/touchui/touch_selection_controller_impl.h
+++ b/ui/views/touchui/touch_selection_controller_impl.h
@@ -34,12 +34,12 @@ class VIEWS_EXPORT TouchSelectionControllerImpl
explicit TouchSelectionControllerImpl(
ui::TouchEditable* client_view);
- virtual ~TouchSelectionControllerImpl();
+ ~TouchSelectionControllerImpl() override;
// TextSelectionController.
- virtual void SelectionChanged() override;
- virtual bool IsHandleDragInProgress() override;
- virtual void HideHandles(bool quick) override;
+ void SelectionChanged() override;
+ bool IsHandleDragInProgress() override;
+ void HideHandles(bool quick) override;
private:
friend class TouchSelectionControllerImplTest;
@@ -65,26 +65,26 @@ class VIEWS_EXPORT TouchSelectionControllerImpl
bool ShouldShowHandleFor(const gfx::Rect& rect) const;
// Overridden from TouchEditingMenuController.
- virtual bool IsCommandIdEnabled(int command_id) const override;
- virtual void ExecuteCommand(int command_id, int event_flags) override;
- virtual void OpenContextMenu() override;
- virtual void OnMenuClosed(TouchEditingMenuView* menu) override;
+ bool IsCommandIdEnabled(int command_id) const override;
+ void ExecuteCommand(int command_id, int event_flags) override;
+ void OpenContextMenu() override;
+ void OnMenuClosed(TouchEditingMenuView* menu) override;
// Overriden from aura::WindowObserver.
- virtual void OnAncestorWindowTransformed(aura::Window* source,
- aura::Window* window) override;
+ void OnAncestorWindowTransformed(aura::Window* source,
+ aura::Window* window) override;
// Overridden from WidgetObserver. We will observe the widget backing the
// |client_view_| so that when its moved/resized, we can update the selection
// handles appropriately.
- virtual void OnWidgetClosing(Widget* widget) override;
- virtual void OnWidgetBoundsChanged(Widget* widget,
- const gfx::Rect& new_bounds) override;
+ void OnWidgetClosing(Widget* widget) override;
+ void OnWidgetBoundsChanged(Widget* widget,
+ const gfx::Rect& new_bounds) override;
// Overriden from ui::EventHandler.
- virtual void OnKeyEvent(ui::KeyEvent* event) override;
- virtual void OnMouseEvent(ui::MouseEvent* event) override;
- virtual void OnScrollEvent(ui::ScrollEvent* event) override;
+ void OnKeyEvent(ui::KeyEvent* event) override;
+ void OnMouseEvent(ui::MouseEvent* event) override;
+ void OnScrollEvent(ui::ScrollEvent* event) override;
// Time to show context menu.
void ContextMenuTimerFired();
« no previous file with comments | « ui/views/touchui/touch_editing_menu.h ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698