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

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

Issue 14063017: Move logic in UserImageScreen from UserImageScreenHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespaces and braces 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) 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_BASE_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Subclasses can override these methods to pass additional parameters 88 // Subclasses can override these methods to pass additional parameters
89 // to loadTimeData. Generally, it is a bad approach, and it should be replaced 89 // to loadTimeData. Generally, it is a bad approach, and it should be replaced
90 // with Context at some point. 90 // with Context at some point.
91 virtual void GetAdditionalParameters(base::DictionaryValue* parameters); 91 virtual void GetAdditionalParameters(base::DictionaryValue* parameters);
92 92
93 // Shortcut for calling JS methods on WebUI side. 93 // Shortcut for calling JS methods on WebUI side.
94 void CallJS(const std::string& method); 94 void CallJS(const std::string& method);
95 void CallJS(const std::string& method, 95 void CallJS(const std::string& method,
96 const base::Value& arg1); 96 const base::Value& arg1);
97 void CallJS(const std::string& method, 97 void CallJS(const std::string& method,
98 const std::string& arg1);
99 void CallJS(const std::string& method,
100 int arg1);
101 void CallJS(const std::string& method,
102 bool arg1);
103 void CallJS(const std::string& method,
98 const base::Value& arg1, 104 const base::Value& arg1,
99 const base::Value& arg2); 105 const base::Value& arg2);
100 void CallJS(const std::string& method, 106 void CallJS(const std::string& method,
101 const base::Value& arg1, 107 const base::Value& arg1,
102 const base::Value& arg2, 108 const base::Value& arg2,
103 const base::Value& arg3); 109 const base::Value& arg3);
104 void CallJS(const std::string& method, 110 void CallJS(const std::string& method,
105 const base::Value& arg1, 111 const base::Value& arg1,
106 const base::Value& arg2, 112 const base::Value& arg2,
107 const base::Value& arg3, 113 const base::Value& arg3,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 bool page_is_ready_; 183 bool page_is_ready_;
178 184
179 base::DictionaryValue* localized_values_; 185 base::DictionaryValue* localized_values_;
180 186
181 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler); 187 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler);
182 }; 188 };
183 189
184 } // namespace chromeos 190 } // namespace chromeos
185 191
186 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ 192 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698