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
76
) 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/chrome/common/extensions/docs/examples/api/notifications/
background.js
23
if (!
localStorage
.isInitialized) {
24
localStorage
.isActivated = true; // The display activation.
25
localStorage
.frequency = 1; // The display frequency, in minutes.
26
localStorage
.isInitialized = true; // The option initialization.
32
if (JSON.parse(
localStorage
.isActivated)) { show(); }
40
JSON.parse(
localStorage
.isActivated) &&
41
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/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/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/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/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
options.js
18
isMultiCalendar = JSON.parse(
localStorage
.multiCalendar || false);
38
localStorage
.multiCalendar = multiCalendarId.checked;
/external/chromium_org/chrome/browser/resources/google_now/
utility_test_util.js
7
var
localStorage
= {};
/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/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/task_manager/
measure_time.js
16
isEnabled:
localStorage
.measureTimeEnabled,
preload.js
21
// Cached list of enabled columns to prevent frequent access to
localStorage
.
29
// Use the cache after the second time since access to
localStorage
is slow.
33
var json = window.
localStorage
.getItem(ENABLED_COLUMNS_KEY);
63
window.
localStorage
.setItem(ENABLED_COLUMNS_KEY, json);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DOMStorage.js
136
var
localStorage
= new WebInspector.DOMStorage(securityOrigin, true);
137
this._storages[localStorageKey] =
localStorage
;
138
this.dispatchEventToListeners(WebInspector.DOMStorageModel.Events.DOMStorageAdded,
localStorage
);
154
var
localStorage
= this._storages[localStorageKey];
155
console.assert(
localStorage
);
157
this.dispatchEventToListeners(WebInspector.DOMStorageModel.Events.DOMStorageRemoved,
localStorage
);
UISourceCode.js
414
if (!window.
localStorage
)
435
var content = window.
localStorage
[historyItems[i].key];
447
if (!window.
localStorage
)
453
delete window.
localStorage
[historyItems[i].key];
455
window.
localStorage
["revision-history"] = JSON.stringify(registry);
961
if (window.
localStorage
) {
962
var revisionHistory = window.
localStorage
["revision-history"];
976
if (!window.
localStorage
)
990
delete window.
localStorage
[historyItem.key];
997
window.
localStorage
["revision-history"] = JSON.stringify(filteredRegistry)
[
all
...]
/external/chromium_org/remoting/webapp/
oauth2.js
93
window.
localStorage
.removeItem(this.KEY_EMAIL_);
109
window.
localStorage
.setItem(this.KEY_REFRESH_TOKEN_, escape(token));
110
window.
localStorage
.setItem(this.KEY_REFRESH_TOKEN_REVOKABLE_, true);
111
window.
localStorage
.removeItem(this.KEY_EMAIL_);
126
window.
localStorage
.removeItem(this.KEY_REFRESH_TOKEN_REVOKABLE_);
135
var value = window.
localStorage
.getItem(this.KEY_REFRESH_TOKEN_);
149
if (window.
localStorage
.getItem(this.KEY_REFRESH_TOKEN_REVOKABLE_)) {
152
window.
localStorage
.removeItem(this.KEY_REFRESH_TOKEN_);
153
window.
localStorage
.removeItem(this.KEY_REFRESH_TOKEN_REVOKABLE_);
174
window.
localStorage
.setItem(this.KEY_ACCESS_TOKEN_
[
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);
Completed in 322 milliseconds
1
2
3
4