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

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

Issue 878253002: LocalizedValuesBuilder moved to components/login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on 'base'. Created 5 years, 10 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/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 12 matching lines...) Expand all
23 EnableDebuggingScreenHandler(); 23 EnableDebuggingScreenHandler();
24 ~EnableDebuggingScreenHandler() override; 24 ~EnableDebuggingScreenHandler() override;
25 25
26 // EnableDebuggingScreenActor implementation: 26 // EnableDebuggingScreenActor implementation:
27 void PrepareToShow() override; 27 void PrepareToShow() override;
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(LocalizedValuesBuilder* builder) override; 33 void DeclareLocalizedValues(
34 ::login::LocalizedValuesBuilder* builder) override;
34 void Initialize() override; 35 void Initialize() override;
35 36
36 // WebUIMessageHandler implementation: 37 // WebUIMessageHandler implementation:
37 void RegisterMessages() override; 38 void RegisterMessages() override;
38 39
39 // Registers Local State preferences. 40 // Registers Local State preferences.
40 static void RegisterPrefs(PrefRegistrySimple* registry); 41 static void RegisterPrefs(PrefRegistrySimple* registry);
41 42
42 private: 43 private:
43 enum UIState { 44 enum UIState {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool show_on_init_; 82 bool show_on_init_;
82 83
83 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_; 84 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler); 86 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler);
86 }; 87 };
87 88
88 } // namespace chromeos 89 } // namespace chromeos
89 90
90 #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