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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.h

Issue 2700303002: cros: Unify oobe View/Actor naming to just View. (Closed)
Patch Set: Rebase Created 3 years, 9 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_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H _
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/chromeos/login/help_app_launcher.h" 12 #include "chrome/browser/chromeos/login/help_app_launcher.h"
13 #include "chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h" 13 #include "chrome/browser/chromeos/login/screens/enable_debugging_screen_view.h"
14 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 14 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
15 15
16 class PrefRegistrySimple; 16 class PrefRegistrySimple;
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 // WebUI implementation of EnableDebuggingScreenActor. 20 // WebUI implementation of EnableDebuggingScreenView.
21 class EnableDebuggingScreenHandler : public EnableDebuggingScreenActor, 21 class EnableDebuggingScreenHandler : public EnableDebuggingScreenView,
22 public BaseScreenHandler { 22 public BaseScreenHandler {
23 public: 23 public:
24 EnableDebuggingScreenHandler(); 24 EnableDebuggingScreenHandler();
25 ~EnableDebuggingScreenHandler() override; 25 ~EnableDebuggingScreenHandler() override;
26 26
27 // EnableDebuggingScreenActor implementation: 27 // EnableDebuggingScreenView implementation:
28 void Show() override; 28 void Show() override;
29 void Hide() override; 29 void Hide() override;
30 void SetDelegate(Delegate* delegate) override; 30 void SetDelegate(Delegate* delegate) override;
31 31
32 // BaseScreenHandler implementation: 32 // BaseScreenHandler implementation:
33 void DeclareLocalizedValues( 33 void DeclareLocalizedValues(
34 ::login::LocalizedValuesBuilder* builder) override; 34 ::login::LocalizedValuesBuilder* builder) override;
35 void Initialize() override; 35 void Initialize() override;
36 36
37 // WebUIMessageHandler implementation: 37 // WebUIMessageHandler implementation:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool show_on_init_ = false; 82 bool show_on_init_ = false;
83 83
84 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_; 84 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler); 86 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler);
87 }; 87 };
88 88
89 } // namespace chromeos 89 } // namespace chromeos
90 90
91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLE R_H_ 91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698