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

Unified Diff: chrome/browser/chromeos/ui/kiosk_external_update_notification.cc

Issue 854053002: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/ui. (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/ui/kiosk_external_update_notification.cc
diff --git a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc
index 71d4fdf9c7f9482070f10a19d0b527356a722c54..179759cffbd24bf5d0e84817d168496b16687321 100644
--- a/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc
+++ b/chrome/browser/chromeos/ui/kiosk_external_update_notification.cc
@@ -38,7 +38,7 @@ class KioskExternalUpdateNotificationView : public views::WidgetDelegateView {
SetLayoutManager(new views::FillLayout);
}
- virtual ~KioskExternalUpdateNotificationView() {
+ ~KioskExternalUpdateNotificationView() override {
widget_closed_ = true;
InformOwnerForDismiss();
}
@@ -55,7 +55,7 @@ class KioskExternalUpdateNotificationView : public views::WidgetDelegateView {
void SetMessage(const base::string16& message) { label_->SetText(message); }
// views::WidgetDelegateView overrides:
- virtual void OnPaint(gfx::Canvas* canvas) override {
+ void OnPaint(gfx::Canvas* canvas) override {
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(kWindowBackgroundColor);
@@ -63,7 +63,7 @@ class KioskExternalUpdateNotificationView : public views::WidgetDelegateView {
views::WidgetDelegateView::OnPaint(canvas);
}
- virtual gfx::Size GetPreferredSize() const override {
+ gfx::Size GetPreferredSize() const override {
return gfx::Size(kPreferredWidth, kPreferredHeight);
}
« no previous file with comments | « chrome/browser/chromeos/ui/inline_login_dialog.h ('k') | chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698