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

Side by Side Diff: chrome/browser/ui/views/update_recommended_message_box.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_
6 #define CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/views/window/dialog_delegate.h" 10 #include "ui/views/window/dialog_delegate.h"
11 11
12 namespace views { 12 namespace views {
13 class MessageBoxView; 13 class MessageBoxView;
14 } 14 }
15 15
16 // A dialog box that tells the user that an update is recommended in order for 16 // A dialog box that tells the user that an update is recommended in order for
17 // the latest version to be put to use. 17 // the latest version to be put to use.
18 class UpdateRecommendedMessageBox : public views::DialogDelegate { 18 class UpdateRecommendedMessageBox : public views::DialogDelegate {
19 public: 19 public:
20 static void Show(gfx::NativeWindow parent_window); 20 static void Show(gfx::NativeWindow parent_window);
21 21
22 private: 22 private:
23 UpdateRecommendedMessageBox(); 23 UpdateRecommendedMessageBox();
24 virtual ~UpdateRecommendedMessageBox(); 24 virtual ~UpdateRecommendedMessageBox();
25 25
26 // Overridden from views::DialogDelegate: 26 // Overridden from views::DialogDelegate:
27 virtual bool Accept() OVERRIDE; 27 virtual bool Accept() override;
28 virtual base::string16 GetDialogButtonLabel( 28 virtual base::string16 GetDialogButtonLabel(
29 ui::DialogButton button) const OVERRIDE; 29 ui::DialogButton button) const override;
30 30
31 // Overridden from views::WidgetDelegate: 31 // Overridden from views::WidgetDelegate:
32 virtual bool ShouldShowWindowTitle() const OVERRIDE; 32 virtual bool ShouldShowWindowTitle() const override;
33 virtual base::string16 GetWindowTitle() const OVERRIDE; 33 virtual base::string16 GetWindowTitle() const override;
34 virtual void DeleteDelegate() OVERRIDE; 34 virtual void DeleteDelegate() override;
35 virtual ui::ModalType GetModalType() const OVERRIDE; 35 virtual ui::ModalType GetModalType() const override;
36 virtual views::View* GetContentsView() OVERRIDE; 36 virtual views::View* GetContentsView() override;
37 virtual views::Widget* GetWidget() OVERRIDE; 37 virtual views::Widget* GetWidget() override;
38 virtual const views::Widget* GetWidget() const OVERRIDE; 38 virtual const views::Widget* GetWidget() const override;
39 39
40 views::MessageBoxView* message_box_view_; 40 views::MessageBoxView* message_box_view_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox); 42 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox);
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ 45 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/uninstall_view.h ('k') | chrome/browser/ui/views/validation_message_bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698