OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:localStorage
(Results
1 - 25
of
93
) sorted by null
1
2
3
4
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
background.js
11
if (
localStorage
['lastVersionUsed'] != '1') {
12
localStorage
['lastVersionUsed'] = '1';
31
var rate =
localStorage
['rate'] || 1.0;
32
var pitch =
localStorage
['pitch'] || 1.0;
33
var volume =
localStorage
['volume'] || 1.0;
34
var voice =
localStorage
['voice'];
59
var keyString =
localStorage
['speakKey'];
62
localStorage
['speakKey'] = keyString;
69
sendResponse({'key':
localStorage
['speakKey']});
options.js
16
var rate =
localStorage
['rate'] || 1.0;
17
var pitch =
localStorage
['pitch'] || 1.0;
18
var volume =
localStorage
['volume'] || 1.0;
24
localStorage
['rate'] = rate;
26
localStorage
['pitch'] = pitch;
28
localStorage
['volume'] = volume;
42
localStorage
['rate'] = rate;
43
localStorage
['pitch'] = pitch;
44
localStorage
['volume'] = volume;
57
if (name ==
localStorage
['voice'])
[
all
...]
/external/chromium_org/ui/accessibility/extensions/highcontrast/
common.js
13
var result =
localStorage
['enabled'];
17
localStorage
['enabled'] = 'true';
22
localStorage
['enabled'] = enabled;
26
var keyAction =
localStorage
['keyaction'];
31
localStorage
['keyaction'] = keyAction;
39
localStorage
['keyaction'] = keyAction;
43
var scheme =
localStorage
['scheme'];
48
localStorage
['scheme'] = scheme;
56
localStorage
['scheme'] = scheme;
62
var siteSchemes = JSON.parse(
localStorage
['siteschemes'])
[
all
...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/notifications/
background.js
21
if (!
localStorage
.isInitialized) {
22
localStorage
.isActivated = true; // The display activation.
23
localStorage
.frequency = 1; // The display frequency, in minutes.
24
localStorage
.isInitialized = true; // The option initialization.
30
if (JSON.parse(
localStorage
.isActivated)) { show(); }
38
JSON.parse(
localStorage
.isActivated) &&
39
localStorage
.frequency <= interval
options.js
17
options.isActivated.checked = JSON.parse(
localStorage
.isActivated);
19
options.frequency.value =
localStorage
.frequency;
26
localStorage
.isActivated = options.isActivated.checked;
31
localStorage
.frequency = options.frequency.value;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
common.js
80
var currentSound =
localStorage
['sound'] || DEFAULT_SOUND;
93
var volume = parseFloat(
localStorage
['volume']) || DEFAULT_VOLUME;
124
var rate = parseFloat(
localStorage
['rate']) || DEFAULT_RATE;
126
var volume = parseFloat(
localStorage
['volume']) || DEFAULT_VOLUME;
127
var voice =
localStorage
['voice'];
143
var phraseTemplate =
localStorage
['phrase'] || DEFAULT_PHRASE;
157
var phraseTemplate =
localStorage
['phrase'] || DEFAULT_PHRASE;
158
var currentSound =
localStorage
['sound'] || DEFAULT_SOUND;
background.js
76
var a1_on = (
localStorage
['a1_on'] == 'true');
77
var a1_tt =
localStorage
['a1_tt'] || DEFAULT_A1_TT;
78
var a1_ampm =
localStorage
['a1_ampm'] || DEFAULT_A1_AMPM;
90
var a2_on = (
localStorage
['a2_on'] == 'true');
91
var a2_tt =
localStorage
['a2_tt'] || DEFAULT_A2_TT;
92
var a2_ampm =
localStorage
['a2_ampm'] || DEFAULT_A2_AMPM;
popup.js
242
var a1_tt =
localStorage
['a1_tt'] || DEFAULT_A1_TT;
250
localStorage
['a1_tt'] = $('a1_tt').value;
263
localStorage
['a1_tt'] = $('a1_tt').value;
268
var a1_on = (
localStorage
['a1_on'] == 'true');
272
localStorage
['a1_on'] = $('a1_on').checked;
277
var a1_ampm =
localStorage
['a1_ampm'] || DEFAULT_A1_AMPM;
280
localStorage
['a1_ampm'] = $('a1_ampm').selectedIndex;
287
var a2_tt =
localStorage
['a2_tt'] || DEFAULT_A2_TT;
295
localStorage
['a2_tt'] = $('a2_tt').value;
308
localStorage
['a2_tt'] = $('a2_tt').value
[
all
...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
options.js
8
if (window.
localStorage
== null) {
13
window.
localStorage
.customMailtoUrl = gmail;
15
window.
localStorage
.customMailtoUrl = "";
20
if (window.
localStorage
== null) {
21
alert("
LocalStorage
must be enabled for changing options.");
29
if (window.
localStorage
.customMailtoUrl == gmail)
background.js
6
if (window.
localStorage
== null)
8
if (window.
localStorage
.customMailtoUrl == null)
10
return window.
localStorage
.customMailtoUrl;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/javascript/
options.js
42
var country = window.
localStorage
.getItem('country');
44
// If country is not found in
localstorage
or default value is selected in
152
* Sets topic list and number of stories retrieved from
localstorage
(if any)
158
// Retrieves topics list from
localStorage
.
159
var topics = JSON.parse(window.
localStorage
.getItem('topics'));
181
// Retrieves list of custom topics from
localstorage
(if any) and shows it
183
var keywords = JSON.parse(window.
localStorage
.getItem('keywords'));
220
var count = window.
localStorage
.getItem('count');
246
var keywords = JSON.parse(window.
localStorage
.getItem('keywords'));
252
window.
localStorage
.setItem('keywords', JSON.stringify(keywords))
[
all
...]
feed.js
72
var maxFeedItems = (window.
localStorage
.getItem('count')) ?
73
window.
localStorage
.getItem('count') : 5;
312
window.
localStorage
.setItem('lastTopic', topicVal);
320
var country = window.
localStorage
.getItem('country');
331
var keywords = JSON.parse(window.
localStorage
.getItem('keywords'));
355
var topics = JSON.parse(window.
localStorage
.getItem('topics'));
356
var keywords = JSON.parse(window.
localStorage
.getItem('keywords'));
382
var topicVal = window.
localStorage
.getItem('lastTopic');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
Settings.js
109
this._registry[key] = new WebInspector.Setting(key, defaultValue, this._eventSupport, window.
localStorage
);
122
this._registry[key] = new WebInspector.RegExpSetting(key, defaultValue, this._eventSupport, window.
localStorage
, regexFlags);
362
if (window.
localStorage
)
363
delete window.
localStorage
["fileMappingEntries"];
374
if (!window.
localStorage
)
409
delete window.
localStorage
[oldName];
416
delete window.
localStorage
[oldNameH];
426
if (!window.
localStorage
)
441
delete window.
localStorage
[oldName];
456
if (!window.
localStorage
)
[
all
...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
options.js
18
localStorage
.setItem(key, "enabled");
21
localStorage
.setItem(key, "disabled");
28
if (!
localStorage
.length) {
34
for (var key in
localStorage
) {
45
check.checked =
localStorage
[key] == "enabled";
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/
background.js
8
ids = JSON.parse(
localStorage
.openWhenComplete);
10
localStorage
.openWhenComplete = JSON.stringify(ids);
16
localStorage
.openWhenComplete = JSON.stringify(ids);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
options.js
18
isMultiCalendar = JSON.parse(
localStorage
.multiCalendar || false);
39
localStorage
.multiCalendar = multiCalendarId.checked;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
prefs.js
25
var lastRunVersion =
localStorage
['lastRunVersion'];
35
localStorage
['lastRunVersion'] = chrome.app.getDetails().version;
47
localStorage
['position'] = '{}';
50
localStorage
['sticky'] = false;
87
*
localStorage
.
95
// Set the default value of any pref that isn't already in
localStorage
.
97
if (
localStorage
[pref] === undefined) {
98
localStorage
[pref] = cvox.ChromeVoxPrefs.DEFAULT_PREFS[pref];
111
localStorage
['currentKeyMap'] = selectedKeyMap;
121
* @return {Object} A map of all prefs except the key map from
localStorage
[
all
...]
options.js
277
cvoxKey.value =
localStorage
['cvoxKey'];
316
localStorage
['cvoxKey'] = modifierStr;
369
var activeTable =
localStorage
[node.id] ||
localStorage
['brailleTable'];
399
localStorage
['brailleTable'] = sel.id;
400
localStorage
[node.id] = sel.id;
412
var currentTableType =
localStorage
['brailleTableType'] || 'brailleTable6';
423
localStorage
['brailleTable'] =
localStorage
['brailleTable6'];
424
localStorage
['brailleTableType'] = 'brailleTable6'
[
all
...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
background.js
27
if (!
localStorage
.hasOwnProperty("instanceId"))
28
localStorage
.instanceId = 'gmc' + parseInt(Date.now() * Math.random(), 10);
29
return
localStorage
.instanceId;
86
if (!
localStorage
.hasOwnProperty('unreadCount')) {
94
text:
localStorage
.unreadCount != "0" ?
localStorage
.unreadCount : ""
102
var exponent = Math.pow(2,
localStorage
.requestFailureCount || 0);
142
delete
localStorage
.unreadCount;
155
localStorage
.requestFailureCount = 0;
163
++
localStorage
.requestFailureCount
[
all
...]
/external/chromium_org/chrome/browser/resources/google_now/
utility_test_util.js
7
var
localStorage
= {};
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DOMStorage.js
142
var
localStorage
= new WebInspector.DOMStorage(this, securityOrigin, true);
143
this._storages[localStorageKey] =
localStorage
;
144
this.dispatchEventToListeners(WebInspector.DOMStorageModel.Events.DOMStorageAdded,
localStorage
);
160
var
localStorage
= this._storages[localStorageKey];
161
console.assert(
localStorage
);
163
this.dispatchEventToListeners(WebInspector.DOMStorageModel.Events.DOMStorageRemoved,
localStorage
);
/external/chromium_org/remoting/webapp/
oauth2.js
90
window.
localStorage
.removeItem(this.KEY_EMAIL_);
103
window.
localStorage
.setItem(this.KEY_REFRESH_TOKEN_, escape(token));
104
window.
localStorage
.removeItem(this.KEY_EMAIL_);
112
var value = window.
localStorage
.getItem(this.KEY_REFRESH_TOKEN_);
126
window.
localStorage
.removeItem(this.KEY_REFRESH_TOKEN_);
147
window.
localStorage
.setItem(this.KEY_ACCESS_TOKEN_,
160
if (!window.
localStorage
.getItem(this.KEY_ACCESS_TOKEN_)) {
164
var accessToken = window.
localStorage
.getItem(this.KEY_ACCESS_TOKEN_);
202
window.
localStorage
.removeItem(this.KEY_ACCESS_TOKEN_);
246
window.
localStorage
.setItem(this.KEY_XSRF_TOKEN_, xsrf_token)
[
all
...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
braille_background.js
96
var table = cvox.BrailleTable.forId(tables,
localStorage
['brailleTable']);
122
localStorage
['brailleTable'] = table.id;
124
localStorage
['brailleTableType'] = 'brailleTable6';
125
localStorage
['brailleTable6'] = table.id;
127
localStorage
['brailleTableType'] = 'brailleTable8';
128
localStorage
['brailleTable8'] = table.id;
133
if (!
localStorage
['brailleTable6']) {
134
localStorage
['brailleTable6'] = 'en-US-g1';
136
if (!
localStorage
['brailleTable8']) {
137
localStorage
['brailleTable8'] = 'en-US-comp8'
[
all
...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
background.js
143
openWhenComplete = JSON.parse(
localStorage
.openWhenComplete);
145
localStorage
.openWhenComplete = JSON.stringify(openWhenComplete);
151
localStorage
.openWhenComplete = JSON.stringify(openWhenComplete);
171
var popupLastOpened = parseInt(
localStorage
.popupLastOpened);
225
if (!isNumber(
localStorage
.popupLastOpened)) {
226
localStorage
.popupLastOpened = '' + (new Date()).getTime();
238
ids = JSON.parse(
localStorage
.openWhenComplete);
240
localStorage
.openWhenComplete = JSON.stringify(ids);
247
localStorage
.openWhenComplete = JSON.stringify(ids);
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/
bg.js
33
var rules =
localStorage
.rules;
37
localStorage
.rules = JSON.stringify([]);
Completed in 536 milliseconds
1
2
3
4