Index: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
diff --git a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
index bfcc7bcd7173cb891ed464b0d764915530daa441..06dd15490a089664b3264666726ce85896c73188 100644 |
--- a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
+++ b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc |
@@ -132,7 +132,7 @@ class IdleAppNameNotificationDelegateView |
&IdleAppNameNotificationDelegateView::RemoveMessage); |
} |
- virtual ~IdleAppNameNotificationDelegateView() { |
+ ~IdleAppNameNotificationDelegateView() override { |
// The widget is already closing, but the other cleanup items need to be |
// performed. |
widget_closed_ = true; |
@@ -168,7 +168,7 @@ class IdleAppNameNotificationDelegateView |
layer->SetBounds(rect); |
} |
- virtual void OnPaint(gfx::Canvas* canvas) override { |
+ void OnPaint(gfx::Canvas* canvas) override { |
SkPaint paint; |
paint.setStyle(SkPaint::kFill_Style); |
paint.setColor(kWindowBackgroundColor); |
@@ -176,15 +176,13 @@ class IdleAppNameNotificationDelegateView |
views::WidgetDelegateView::OnPaint(canvas); |
} |
- virtual void GetAccessibleState(ui::AXViewState* state) override { |
+ void GetAccessibleState(ui::AXViewState* state) override { |
state->name = spoken_text_; |
state->role = ui::AX_ROLE_ALERT; |
} |
// ImplicitAnimationObserver overrides |
- virtual void OnImplicitAnimationsCompleted() override { |
- Close(); |
- } |
+ void OnImplicitAnimationsCompleted() override { Close(); } |
private: |
// Adds the label to the view, using |text| with a |font| and a |text_color|. |