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

Side by Side Diff: chrome/browser/chromeos/external_protocol_dialog.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 14 matching lines...) Expand all
25 // ChromeOS does not support launching external program, therefore, 25 // ChromeOS does not support launching external program, therefore,
26 // this dialog simply says it is not supported. 26 // this dialog simply says it is not supported.
27 class ExternalProtocolDialog : public views::DialogDelegate { 27 class ExternalProtocolDialog : public views::DialogDelegate {
28 public: 28 public:
29 // RunExternalProtocolDialog calls this private constructor. 29 // RunExternalProtocolDialog calls this private constructor.
30 ExternalProtocolDialog(content::WebContents* web_contents, const GURL& url); 30 ExternalProtocolDialog(content::WebContents* web_contents, const GURL& url);
31 31
32 virtual ~ExternalProtocolDialog(); 32 virtual ~ExternalProtocolDialog();
33 33
34 // views::DialogDelegate Methods: 34 // views::DialogDelegate Methods:
35 virtual int GetDialogButtons() const OVERRIDE; 35 virtual int GetDialogButtons() const override;
36 virtual base::string16 GetDialogButtonLabel( 36 virtual base::string16 GetDialogButtonLabel(
37 ui::DialogButton button) const OVERRIDE; 37 ui::DialogButton button) const override;
38 virtual base::string16 GetWindowTitle() const OVERRIDE; 38 virtual base::string16 GetWindowTitle() const override;
39 virtual void DeleteDelegate() OVERRIDE; 39 virtual void DeleteDelegate() override;
40 virtual bool Accept() OVERRIDE; 40 virtual bool Accept() override;
41 virtual views::View* GetContentsView() OVERRIDE; 41 virtual views::View* GetContentsView() override;
42 42
43 // views::WidgetDelegate Methods: 43 // views::WidgetDelegate Methods:
44 virtual const views::Widget* GetWidget() const OVERRIDE; 44 virtual const views::Widget* GetWidget() const override;
45 virtual views::Widget* GetWidget() OVERRIDE; 45 virtual views::Widget* GetWidget() override;
46 46
47 private: 47 private:
48 // The message box view whose commands we handle. 48 // The message box view whose commands we handle.
49 views::MessageBoxView* message_box_view_; 49 views::MessageBoxView* message_box_view_;
50 50
51 // The time at which this dialog was created. 51 // The time at which this dialog was created.
52 base::TimeTicks creation_time_; 52 base::TimeTicks creation_time_;
53 53
54 // The scheme of the url. 54 // The scheme of the url.
55 std::string scheme_; 55 std::string scheme_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolDialog); 57 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolDialog);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_ 60 #endif // CHROME_BROWSER_CHROMEOS_EXTERNAL_PROTOCOL_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/external_metrics_unittest.cc ('k') | chrome/browser/chromeos/file_manager/app_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698