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: Removed default case Created March 22, 2015, 9:23 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;
(...skipping 8430 matching lines...) Expand 10 before | Expand all | Expand 10 after
8441 return { 8441 return {
8442 id: this.id, 8442 id: this.id,
8443 icon: elt.icon, 8443 icon: elt.icon,
8444 label: elt.label, 8444 label: elt.label,
8445 disabled: elt.disabled, 8445 disabled: elt.disabled,
8446 menu: elt instanceof Ci.nsIDOMHTMLMenuElement 8446 menu: elt instanceof Ci.nsIDOMHTMLMenuElement
8447 }; 8447 };
8448 } 8448 }
8449 }, 8449 },
8450 }); 8450 });
8451
8452 let {AdblockPlusApi} = Cu.import("chrome://adblockplus/content/Api.jsm");
8453 AdblockPlusApi.initCommunication();
8454
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