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

Side by Side Diff: chrome/browser/resources/options/browser_options.js

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Update device tests to use correct dict key Created 3 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 cr.exportPath('options'); 5 cr.exportPath('options');
6 6
7 /** 7 /**
8 * @typedef {{actionLinkText: (string|undefined), 8 * @typedef {{actionLinkText: (string|undefined),
9 * accountInfo: (string|undefined), 9 * accountInfo: (string|undefined),
10 * childUser: (boolean|undefined), 10 * childUser: (boolean|undefined),
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 /** 43 /**
44 * Device policy SystemTimezoneAutomaticDetection values. 44 * Device policy SystemTimezoneAutomaticDetection values.
45 * @enum {number} 45 * @enum {number}
46 * @const 46 * @const
47 */ 47 */
48 options.AutomaticTimezoneDetectionType = { 48 options.AutomaticTimezoneDetectionType = {
49 USERS_DECIDE: 0, 49 USERS_DECIDE: 0,
50 DISABLED: 1, 50 DISABLED: 1,
51 IP_ONLY: 2, 51 IP_ONLY: 2,
52 SEND_WIFI_ACCESS_POINTS: 3, 52 SEND_WIFI_ACCESS_POINTS: 3,
53 SEND_ALL_LOCATION_INFO: 4,
53 }; 54 };
54 55
55 cr.define('options', function() { 56 cr.define('options', function() {
56 var OptionsPage = options.OptionsPage; 57 var OptionsPage = options.OptionsPage;
57 var Page = cr.ui.pageManager.Page; 58 var Page = cr.ui.pageManager.Page;
58 var PageManager = cr.ui.pageManager.PageManager; 59 var PageManager = cr.ui.pageManager.PageManager;
59 var ArrayDataModel = cr.ui.ArrayDataModel; 60 var ArrayDataModel = cr.ui.ArrayDataModel;
60 var RepeatingButton = cr.ui.RepeatingButton; 61 var RepeatingButton = cr.ui.RepeatingButton;
61 var HotwordSearchSettingIndicator = options.HotwordSearchSettingIndicator; 62 var HotwordSearchSettingIndicator = options.HotwordSearchSettingIndicator;
62 var NetworkPredictionOptions = { 63 var NetworkPredictionOptions = {
(...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 2472
2472 settings.hidden = !isVisible; 2473 settings.hidden = !isVisible;
2473 }; 2474 };
2474 } 2475 }
2475 2476
2476 // Export 2477 // Export
2477 return { 2478 return {
2478 BrowserOptions: BrowserOptions 2479 BrowserOptions: BrowserOptions
2479 }; 2480 };
2480 }); 2481 });
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chromeos/geolocation/simple_geolocation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698