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

Unified Diff: ui/views/widget/widget_interactive_uitest.cc

Issue 1081103008: Update {virtual,override} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/shell_dialogs/select_file_dialog_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_interactive_uitest.cc
diff --git a/ui/views/widget/widget_interactive_uitest.cc b/ui/views/widget/widget_interactive_uitest.cc
index f55c37569a0e8902025d4705bf6a8facbf9235fb..9fbb62a42785ce3d54ea36d0c3b690ea460c7a9c 100644
--- a/ui/views/widget/widget_interactive_uitest.cc
+++ b/ui/views/widget/widget_interactive_uitest.cc
@@ -659,9 +659,9 @@ class WidgetActivationTest : public Widget {
WidgetActivationTest()
: active_(false) {}
- virtual ~WidgetActivationTest() {}
+ ~WidgetActivationTest() override {}
- virtual void OnNativeWidgetActivationChanged(bool active) override {
+ void OnNativeWidgetActivationChanged(bool active) override {
active_ = active;
}
@@ -1343,7 +1343,7 @@ namespace {
class MouseEventTrackingWidget : public Widget {
public:
MouseEventTrackingWidget() : got_mouse_event_(false) {}
- virtual ~MouseEventTrackingWidget() {}
+ ~MouseEventTrackingWidget() override {}
bool GetAndClearGotMouseEvent() {
bool value = got_mouse_event_;
@@ -1352,7 +1352,7 @@ class MouseEventTrackingWidget : public Widget {
}
// Widget:
- virtual void OnMouseEvent(ui::MouseEvent* event) override {
+ void OnMouseEvent(ui::MouseEvent* event) override {
got_mouse_event_ = true;
Widget::OnMouseEvent(event);
}
« no previous file with comments | « ui/shell_dialogs/select_file_dialog_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698