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

Side by Side Diff: chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h" 5 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/browser_shutdown.h" 10 #include "chrome/browser/browser_shutdown.h"
(...skipping 25 matching lines...) Expand all
36 36
37 protected: 37 protected:
38 friend struct DefaultSingletonTraits<MobileSetupDialogDelegate>; 38 friend struct DefaultSingletonTraits<MobileSetupDialogDelegate>;
39 39
40 MobileSetupDialogDelegate(); 40 MobileSetupDialogDelegate();
41 virtual ~MobileSetupDialogDelegate(); 41 virtual ~MobileSetupDialogDelegate();
42 42
43 void OnCloseDialog(); 43 void OnCloseDialog();
44 44
45 // WebDialogDelegate overrides. 45 // WebDialogDelegate overrides.
46 virtual ui::ModalType GetDialogModalType() const OVERRIDE; 46 virtual ui::ModalType GetDialogModalType() const override;
47 virtual base::string16 GetDialogTitle() const OVERRIDE; 47 virtual base::string16 GetDialogTitle() const override;
48 virtual GURL GetDialogContentURL() const OVERRIDE; 48 virtual GURL GetDialogContentURL() const override;
49 virtual void GetWebUIMessageHandlers( 49 virtual void GetWebUIMessageHandlers(
50 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE; 50 std::vector<WebUIMessageHandler*>* handlers) const override;
51 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 51 virtual void GetDialogSize(gfx::Size* size) const override;
52 virtual std::string GetDialogArgs() const OVERRIDE; 52 virtual std::string GetDialogArgs() const override;
53 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 53 virtual void OnDialogClosed(const std::string& json_retval) override;
54 virtual void OnCloseContents(WebContents* source, 54 virtual void OnCloseContents(WebContents* source,
55 bool* out_close_dialog) OVERRIDE; 55 bool* out_close_dialog) override;
56 virtual bool ShouldShowDialogTitle() const OVERRIDE; 56 virtual bool ShouldShowDialogTitle() const override;
57 virtual bool HandleContextMenu( 57 virtual bool HandleContextMenu(
58 const content::ContextMenuParams& params) OVERRIDE; 58 const content::ContextMenuParams& params) override;
59 59
60 private: 60 private:
61 gfx::NativeWindow dialog_window_; 61 gfx::NativeWindow dialog_window_;
62 // Cellular network service path. 62 // Cellular network service path.
63 std::string service_path_; 63 std::string service_path_;
64 DISALLOW_COPY_AND_ASSIGN(MobileSetupDialogDelegate); 64 DISALLOW_COPY_AND_ASSIGN(MobileSetupDialogDelegate);
65 }; 65 };
66 66
67 // static 67 // static
68 void MobileSetupDialog::Show(const std::string& service_path) { 68 void MobileSetupDialog::Show(const std::string& service_path) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 153
154 bool MobileSetupDialogDelegate::ShouldShowDialogTitle() const { 154 bool MobileSetupDialogDelegate::ShouldShowDialogTitle() const {
155 return true; 155 return true;
156 } 156 }
157 157
158 bool MobileSetupDialogDelegate::HandleContextMenu( 158 bool MobileSetupDialogDelegate::HandleContextMenu(
159 const content::ContextMenuParams& params) { 159 const content::ContextMenuParams& params) {
160 return true; 160 return true;
161 } 161 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.h ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698