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

Side by Side Diff: chrome/browser/ui/views/importer/import_lock_dialog_view.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_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 class ImportLockDialogView : public views::DialogDelegateView { 21 class ImportLockDialogView : public views::DialogDelegateView {
22 public: 22 public:
23 static void Show(gfx::NativeWindow parent, 23 static void Show(gfx::NativeWindow parent,
24 const base::Callback<void(bool)>& callback); 24 const base::Callback<void(bool)>& callback);
25 25
26 private: 26 private:
27 explicit ImportLockDialogView(const base::Callback<void(bool)>& callback); 27 explicit ImportLockDialogView(const base::Callback<void(bool)>& callback);
28 virtual ~ImportLockDialogView(); 28 virtual ~ImportLockDialogView();
29 29
30 // views::View: 30 // views::View:
31 virtual gfx::Size GetPreferredSize() const OVERRIDE; 31 virtual gfx::Size GetPreferredSize() const override;
32 virtual void Layout() OVERRIDE; 32 virtual void Layout() override;
33 33
34 // views::DialogDelegate: 34 // views::DialogDelegate:
35 virtual base::string16 GetDialogButtonLabel( 35 virtual base::string16 GetDialogButtonLabel(
36 ui::DialogButton button) const OVERRIDE; 36 ui::DialogButton button) const override;
37 virtual base::string16 GetWindowTitle() const OVERRIDE; 37 virtual base::string16 GetWindowTitle() const override;
38 virtual bool Accept() OVERRIDE; 38 virtual bool Accept() override;
39 virtual bool Cancel() OVERRIDE; 39 virtual bool Cancel() override;
40 40
41 private: 41 private:
42 views::Label* description_label_; 42 views::Label* description_label_;
43 43
44 // Called with the result of the dialog. 44 // Called with the result of the dialog.
45 base::Callback<void(bool)> callback_; 45 base::Callback<void(bool)> callback_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(ImportLockDialogView); 47 DISALLOW_COPY_AND_ASSIGN(ImportLockDialogView);
48 }; 48 };
49 49
50 #endif // CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ 50 #endif // CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.h ('k') | chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698