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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 197313007: Add Easy Unlock options to chrome://settings behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | 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_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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Check if hotword is available. If it is, tell the javascript to show 271 // Check if hotword is available. If it is, tell the javascript to show
272 // the hotword section of the settings page. 272 // the hotword section of the settings page.
273 void SendHotwordAvailable(); 273 void SendHotwordAvailable();
274 274
275 // Callback for "requestHotwordAvailable" message. 275 // Callback for "requestHotwordAvailable" message.
276 void HandleRequestHotwordAvailable(const base::ListValue* args); 276 void HandleRequestHotwordAvailable(const base::ListValue* args);
277 277
278 // Callback for "requestHotwordSetupRetry" message. 278 // Callback for "requestHotwordSetupRetry" message.
279 void HandleRequestHotwordSetupRetry(const base::ListValue* args); 279 void HandleRequestHotwordSetupRetry(const base::ListValue* args);
280 280
281 // Callback for "launchEasyUnlockSetup" message.
282 void HandleLaunchEasyUnlockSetup(const base::ListValue* args);
283
281 #if defined(OS_CHROMEOS) 284 #if defined(OS_CHROMEOS)
282 // Opens the wallpaper manager component extension. 285 // Opens the wallpaper manager component extension.
283 void HandleOpenWallpaperManager(const base::ListValue* args); 286 void HandleOpenWallpaperManager(const base::ListValue* args);
284 287
285 // Called when the accessibility checkbox values are changed. 288 // Called when the accessibility checkbox values are changed.
286 // |args| will contain the checkbox checked state as a string 289 // |args| will contain the checkbox checked state as a string
287 // ("true" or "false"). 290 // ("true" or "false").
288 void VirtualKeyboardChangeCallback(const base::ListValue* args); 291 void VirtualKeyboardChangeCallback(const base::ListValue* args);
289 292
290 // Called when the user confirmed factory reset. Chrome will 293 // Called when the user confirmed factory reset. Chrome will
(...skipping 15 matching lines...) Expand all
306 309
307 // Setup the proxy settings section UI. 310 // Setup the proxy settings section UI.
308 void SetupProxySettingsSection(); 311 void SetupProxySettingsSection();
309 312
310 // Setup the manage certificates section UI. 313 // Setup the manage certificates section UI.
311 void SetupManageCertificatesSection(); 314 void SetupManageCertificatesSection();
312 315
313 // Setup the UI specific to managing supervised users. 316 // Setup the UI specific to managing supervised users.
314 void SetupManagingSupervisedUsers(); 317 void SetupManagingSupervisedUsers();
315 318
319 // Setup the UI for Easy Unlock.
320 void SetupEasyUnlock();
321
316 #if defined(OS_CHROMEOS) 322 #if defined(OS_CHROMEOS)
317 // Setup the accessibility features for ChromeOS. 323 // Setup the accessibility features for ChromeOS.
318 void SetupAccessibilityFeatures(); 324 void SetupAccessibilityFeatures();
319 #endif 325 #endif
320 326
321 // Returns a newly created dictionary with a number of properties that 327 // Returns a newly created dictionary with a number of properties that
322 // correspond to the status of sync. 328 // correspond to the status of sync.
323 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); 329 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary();
324 330
325 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; 331 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_;
(...skipping 25 matching lines...) Expand all
351 357
352 // Used to get WeakPtr to self for use on the UI thread. 358 // Used to get WeakPtr to self for use on the UI thread.
353 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 359 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
354 360
355 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 361 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
356 }; 362 };
357 363
358 } // namespace options 364 } // namespace options
359 365
360 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 366 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_controller.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698