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

Side by Side Diff: chrome/browser/ui/views/download/download_in_progress_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_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 12 matching lines...) Expand all
23 const base::Callback<void(bool)>& callback); 23 const base::Callback<void(bool)>& callback);
24 24
25 private: 25 private:
26 DownloadInProgressDialogView(int download_count, 26 DownloadInProgressDialogView(int download_count,
27 Browser::DownloadClosePreventionType dialog_type, 27 Browser::DownloadClosePreventionType dialog_type,
28 bool app_modal, 28 bool app_modal,
29 const base::Callback<void(bool)>& callback); 29 const base::Callback<void(bool)>& callback);
30 virtual ~DownloadInProgressDialogView(); 30 virtual ~DownloadInProgressDialogView();
31 31
32 // views::DialogDelegate: 32 // views::DialogDelegate:
33 virtual int GetDefaultDialogButton() const OVERRIDE; 33 virtual int GetDefaultDialogButton() const override;
34 virtual base::string16 GetDialogButtonLabel( 34 virtual base::string16 GetDialogButtonLabel(
35 ui::DialogButton button) const OVERRIDE; 35 ui::DialogButton button) const override;
36 virtual bool Cancel() OVERRIDE; 36 virtual bool Cancel() override;
37 virtual bool Accept() OVERRIDE; 37 virtual bool Accept() override;
38 38
39 // views::WidgetDelegate: 39 // views::WidgetDelegate:
40 virtual ui::ModalType GetModalType() const OVERRIDE; 40 virtual ui::ModalType GetModalType() const override;
41 virtual base::string16 GetWindowTitle() const OVERRIDE; 41 virtual base::string16 GetWindowTitle() const override;
42 virtual void DeleteDelegate() OVERRIDE; 42 virtual void DeleteDelegate() override;
43 virtual views::Widget* GetWidget() OVERRIDE; 43 virtual views::Widget* GetWidget() override;
44 virtual const views::Widget* GetWidget() const OVERRIDE; 44 virtual const views::Widget* GetWidget() const override;
45 virtual views::View* GetContentsView() OVERRIDE; 45 virtual views::View* GetContentsView() override;
46 46
47 const bool app_modal_; 47 const bool app_modal_;
48 const base::Callback<void(bool)> callback_; 48 const base::Callback<void(bool)> callback_;
49 views::MessageBoxView* message_box_view_; 49 views::MessageBoxView* message_box_view_;
50 50
51 base::string16 title_text_; 51 base::string16 title_text_;
52 base::string16 ok_button_text_; 52 base::string16 ok_button_text_;
53 base::string16 cancel_button_text_; 53 base::string16 cancel_button_text_;
54 54
55 gfx::Size dialog_dimensions_; 55 gfx::Size dialog_dimensions_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView); 57 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ 60 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698