OLD | NEW |
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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 #endif // defined(OS_CHROMEOS) | 251 #endif // defined(OS_CHROMEOS) |
252 #endif // defined(ENABLE_FULL_PRINTING) | 252 #endif // defined(ENABLE_FULL_PRINTING) |
253 | 253 |
254 // Check if hotword is available. If it is, tell the javascript to show | 254 // Check if hotword is available. If it is, tell the javascript to show |
255 // the hotword section of the settings page. | 255 // the hotword section of the settings page. |
256 void SendHotwordAvailable(); | 256 void SendHotwordAvailable(); |
257 | 257 |
258 // Callback for "requestHotwordAvailable" message. | 258 // Callback for "requestHotwordAvailable" message. |
259 void HandleRequestHotwordAvailable(const base::ListValue* args); | 259 void HandleRequestHotwordAvailable(const base::ListValue* args); |
260 | 260 |
| 261 // Callback for "downloadFeedbackStatusChanged" message. |
| 262 void DownloadFeedbackStatusChanged(const base::ListValue* args); |
| 263 |
261 #if defined(OS_CHROMEOS) | 264 #if defined(OS_CHROMEOS) |
262 // Opens the wallpaper manager component extension. | 265 // Opens the wallpaper manager component extension. |
263 void HandleOpenWallpaperManager(const base::ListValue* args); | 266 void HandleOpenWallpaperManager(const base::ListValue* args); |
264 | 267 |
265 // Called when the accessibility checkbox values are changed. | 268 // Called when the accessibility checkbox values are changed. |
266 // |args| will contain the checkbox checked state as a string | 269 // |args| will contain the checkbox checked state as a string |
267 // ("true" or "false"). | 270 // ("true" or "false"). |
268 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 271 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
269 | 272 |
270 // Called when the user confirmed factory reset. Chrome will | 273 // Called when the user confirmed factory reset. Chrome will |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 334 |
332 // Used to get WeakPtr to self for use on the UI thread. | 335 // Used to get WeakPtr to self for use on the UI thread. |
333 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 336 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
334 | 337 |
335 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 338 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
336 }; | 339 }; |
337 | 340 |
338 } // namespace options | 341 } // namespace options |
339 | 342 |
340 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 343 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |