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

Unified Diff: chrome/browser/chromeos/input_method/mode_indicator_controller.cc

Issue 796693005: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/input_method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: chrome/browser/chromeos/input_method/mode_indicator_controller.cc
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
index a168605255db666bf4c632163cd4ab80852097ed..64c30a376de3bb37d45ee0f17734b3d8b77d6d56 100644
--- a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
+++ b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
@@ -24,14 +24,14 @@ class ModeIndicatorObserver : public ModeIndicatorObserverInterface {
ModeIndicatorObserver()
: active_widget_(NULL) {}
- virtual ~ModeIndicatorObserver() {
+ ~ModeIndicatorObserver() override {
if (active_widget_)
active_widget_->RemoveObserver(this);
}
// If other active mode indicator widget is shown, close it immedicately
// without fading animation. Then store this widget as the active widget.
- virtual void AddModeIndicatorWidget(views::Widget* widget) override {
+ void AddModeIndicatorWidget(views::Widget* widget) override {
DCHECK(widget);
if (active_widget_)
active_widget_->Close();
@@ -40,7 +40,7 @@ class ModeIndicatorObserver : public ModeIndicatorObserverInterface {
}
// views::WidgetObserver override:
- virtual void OnWidgetDestroying(views::Widget* widget) override {
+ void OnWidgetDestroying(views::Widget* widget) override {
if (widget == active_widget_)
active_widget_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698