Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/chrome/content/browser.js

Issue 4920541991403520: Create a minimal settings UI (Closed)
Patch Set: Created March 20, 2015, 10:42 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #filter substitution 1 #filter substitution
2 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2- skip-preprocessor-directives: t; -*- 2 // -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; js2-basic-offset: 2; js2- skip-preprocessor-directives: t; -*-
3 /* This Source Code Form is subject to the terms of the Mozilla Public 3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 "use strict"; 6 "use strict";
7 7
8 let Cc = Components.classes; 8 let Cc = Components.classes;
9 let Ci = Components.interfaces; 9 let Ci = Components.interfaces;
10 let Cu = Components.utils; 10 let Cu = Components.utils;
11 let Cr = Components.results; 11 let Cr = Components.results;
12 12
13 Cu.import("resource://gre/modules/XPCOMUtils.jsm"); 13 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
14 Cu.import("resource://gre/modules/Services.jsm"); 14 Cu.import("resource://gre/modules/Services.jsm");
15 Cu.import("resource://gre/modules/AddonManager.jsm"); 15 Cu.import("resource://gre/modules/AddonManager.jsm");
16 Cu.import("resource://gre/modules/FileUtils.jsm"); 16 Cu.import("resource://gre/modules/FileUtils.jsm");
17 Cu.import("resource://gre/modules/JNI.jsm"); 17 Cu.import("resource://gre/modules/JNI.jsm");
18 Cu.import('resource://gre/modules/Payment.jsm'); 18 Cu.import('resource://gre/modules/Payment.jsm');
19 Cu.import("resource://gre/modules/NotificationDB.jsm"); 19 Cu.import("resource://gre/modules/NotificationDB.jsm");
20 Cu.import("resource://gre/modules/SpatialNavigation.jsm"); 20 Cu.import("resource://gre/modules/SpatialNavigation.jsm");
21 Cu.import("resource://gre/modules/UITelemetry.jsm"); 21 Cu.import("resource://gre/modules/UITelemetry.jsm");
22 Cu.import("chrome://adblockplus/content/Api.jsm");
22 23
23 #ifdef ACCESSIBILITY 24 #ifdef ACCESSIBILITY
24 Cu.import("resource://gre/modules/accessibility/AccessFu.jsm"); 25 Cu.import("resource://gre/modules/accessibility/AccessFu.jsm");
25 #endif 26 #endif
26 27
27 XPCOMUtils.defineLazyModuleGetter(this, "PluralForm", 28 XPCOMUtils.defineLazyModuleGetter(this, "PluralForm",
28 "resource://gre/modules/PluralForm.jsm"); 29 "resource://gre/modules/PluralForm.jsm");
29 30
30 XPCOMUtils.defineLazyModuleGetter(this, "sendMessageToJava", 31 XPCOMUtils.defineLazyModuleGetter(this, "sendMessageToJava",
31 "resource://gre/modules/Messaging.jsm"); 32 "resource://gre/modules/Messaging.jsm");
(...skipping 8409 matching lines...) Expand 10 before | Expand all | Expand 10 after
8441 return { 8442 return {
8442 id: this.id, 8443 id: this.id,
8443 icon: elt.icon, 8444 icon: elt.icon,
8444 label: elt.label, 8445 label: elt.label,
8445 disabled: elt.disabled, 8446 disabled: elt.disabled,
8446 menu: elt instanceof Ci.nsIDOMHTMLMenuElement 8447 menu: elt instanceof Ci.nsIDOMHTMLMenuElement
8447 }; 8448 };
8448 } 8449 }
8449 }, 8450 },
8450 }); 8451 });
OLDNEW
« no previous file with comments | « mobile/android/base/strings.xml.in ('k') | mobile/android/thirdparty/org/adblockplus/browser/AbpCheckBoxPreference.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld