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/chromeos/sim_dialog_delegate.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_SIM_DIALOG_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_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 "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 14 matching lines...) Expand all
25 25
26 explicit SimDialogDelegate(SimDialogMode dialog_mode); 26 explicit SimDialogDelegate(SimDialogMode dialog_mode);
27 27
28 // Shows the SIM unlock dialog box with one of the specified modes. 28 // Shows the SIM unlock dialog box with one of the specified modes.
29 static void ShowDialog(gfx::NativeWindow owning_window, SimDialogMode mode); 29 static void ShowDialog(gfx::NativeWindow owning_window, SimDialogMode mode);
30 30
31 private: 31 private:
32 virtual ~SimDialogDelegate(); 32 virtual ~SimDialogDelegate();
33 33
34 // Overridden from ui::WebDialogDelegate: 34 // Overridden from ui::WebDialogDelegate:
35 virtual ui::ModalType GetDialogModalType() const OVERRIDE; 35 virtual ui::ModalType GetDialogModalType() const override;
36 virtual base::string16 GetDialogTitle() const OVERRIDE; 36 virtual base::string16 GetDialogTitle() const override;
37 virtual GURL GetDialogContentURL() const OVERRIDE; 37 virtual GURL GetDialogContentURL() const override;
38 virtual void GetWebUIMessageHandlers( 38 virtual void GetWebUIMessageHandlers(
39 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; 39 std::vector<content::WebUIMessageHandler*>* handlers) const override;
40 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 40 virtual void GetDialogSize(gfx::Size* size) const override;
41 virtual std::string GetDialogArgs() const OVERRIDE; 41 virtual std::string GetDialogArgs() const override;
42 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 42 virtual void OnDialogClosed(const std::string& json_retval) override;
43 virtual void OnCloseContents( 43 virtual void OnCloseContents(
44 content::WebContents* source, bool* out_close_dialog) OVERRIDE; 44 content::WebContents* source, bool* out_close_dialog) override;
45 virtual bool ShouldShowDialogTitle() const OVERRIDE; 45 virtual bool ShouldShowDialogTitle() const override;
46 virtual bool HandleContextMenu( 46 virtual bool HandleContextMenu(
47 const content::ContextMenuParams& params) OVERRIDE; 47 const content::ContextMenuParams& params) override;
48 48
49 SimDialogMode dialog_mode_; 49 SimDialogMode dialog_mode_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate); 51 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate);
52 }; 52 };
53 53
54 } // namespace chromeos 54 } // namespace chromeos
55 55
56 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ 56 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/token_encryptor.h ('k') | chrome/browser/chromeos/status/data_promo_notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698