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

Unified Diff: chrome/browser/ui/views/screen_capture_notification_ui_views.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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 | « chrome/browser/ui/views/sad_tab_view.h ('k') | chrome/browser/ui/views/select_file_dialog_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc
diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
index 52d34cafa74413d9548eccbbe1347d141d8299d2..7b1573b149df227efbe339696287a4ec2a2243d1 100644
--- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
+++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
@@ -53,7 +53,7 @@ class NotificationBarClientView : public views::ClientView {
void set_client_rect(const gfx::Rect& rect) { rect_ = rect; }
// views::ClientView overrides.
- virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE {
+ virtual int NonClientHitTest(const gfx::Point& point) override {
if (!bounds().Contains(point))
return HTNOWHERE;
// The whole window is HTCAPTION, except the |rect_|.
@@ -83,29 +83,29 @@ class ScreenCaptureNotificationUIViews
// ScreenCaptureNotificationUI interface.
virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback)
- OVERRIDE;
+ override;
// views::View overrides.
- virtual gfx::Size GetPreferredSize() const OVERRIDE;
- virtual void Layout() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const override;
+ virtual void Layout() override;
// views::WidgetDelegateView overrides.
- virtual void DeleteDelegate() OVERRIDE;
- virtual views::View* GetContentsView() OVERRIDE;
- virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE;
+ virtual void DeleteDelegate() override;
+ virtual views::View* GetContentsView() override;
+ virtual views::ClientView* CreateClientView(views::Widget* widget) override;
virtual views::NonClientFrameView* CreateNonClientFrameView(
- views::Widget* widget) OVERRIDE;
- virtual base::string16 GetWindowTitle() const OVERRIDE;
- virtual bool ShouldShowWindowTitle() const OVERRIDE;
- virtual bool ShouldShowCloseButton() const OVERRIDE;
- virtual bool CanActivate() const OVERRIDE;
+ views::Widget* widget) override;
+ virtual base::string16 GetWindowTitle() const override;
+ virtual bool ShouldShowWindowTitle() const override;
+ virtual bool ShouldShowCloseButton() const override;
+ virtual bool CanActivate() const override;
// views::ButtonListener interface.
virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) OVERRIDE;
+ const ui::Event& event) override;
// views::LinkListener interface.
- virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
+ virtual void LinkClicked(views::Link* source, int event_flags) override;
private:
// Helper to call |stop_callback_|.
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.h ('k') | chrome/browser/ui/views/select_file_dialog_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698