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

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

Issue 14208014: Simplify adding callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_WRONG_HWID_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/chromeos/login/wrong_hwid_screen_actor.h" 9 #include "chrome/browser/chromeos/login/wrong_hwid_screen_actor.h"
10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // BaseScreenHandler implementation: 33 // BaseScreenHandler implementation:
34 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; 34 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE;
35 virtual void Initialize() OVERRIDE; 35 virtual void Initialize() OVERRIDE;
36 36
37 // WebUIMessageHandler implementation: 37 // WebUIMessageHandler implementation:
38 virtual void RegisterMessages() OVERRIDE; 38 virtual void RegisterMessages() OVERRIDE;
39 39
40 private: 40 private:
41 // JS messages handlers. 41 // JS messages handlers.
42 void HandleOnSkip(const base::ListValue* args); 42 void HandleOnSkip();
43 43
44 Delegate* delegate_; 44 Delegate* delegate_;
45 45
46 // Keeps whether screen should be shown right after initialization. 46 // Keeps whether screen should be shown right after initialization.
47 bool show_on_init_; 47 bool show_on_init_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); 49 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler);
50 }; 50 };
51 51
52 } // namespace chromeos 52 } // namespace chromeos
53 53
54 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ 54 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
55 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698