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

Side by Side Diff: chrome/browser/resources/hotword_helper/manager.js

Issue 786893007: chrome: Rename the remaining entries from "Newtab" to "NewTab". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 6 years 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
« no previous file with comments | « chrome/browser/extensions/extension_override_apitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * @fileoverview This extension manages communications between Chrome, 8 * @fileoverview This extension manages communications between Chrome,
9 * Google.com pages and the Chrome Hotword extension. 9 * Google.com pages and the Chrome Hotword extension.
10 * 10 *
11 * This helper extension is required due to the depoyment plan for Chrome M34: 11 * This helper extension is required due to the depoyment plan for Chrome M34:
12 * 12 *
13 * - The hotword extension will be distributed as an externally loaded 13 * - The hotword extension will be distributed as an externally loaded
14 * component extension. 14 * component extension.
15 * - Settings for enabling and disabling the hotword extension has moved to 15 * - Settings for enabling and disabling the hotword extension has moved to
16 * Chrome settings. 16 * Chrome settings.
17 * - Newtab page is served via chrome://newtab/ 17 * - NewTab page is served via chrome://newtab/
18 * 18 *
19 */ 19 */
20 20
21 21
22 22
23 /** @constructor */ 23 /** @constructor */
24 var OptInManager = function() {}; 24 var OptInManager = function() {};
25 25
26 26
27 /** 27 /**
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // TODO(rlp): Possibly remove the next line. It's proably not used, but 223 // TODO(rlp): Possibly remove the next line. It's proably not used, but
224 // leaving for now to be safe. We should remove it once all messsage 224 // leaving for now to be safe. We should remove it once all messsage
225 // relaying is removed form the content scripts. 225 // relaying is removed form the content scripts.
226 chrome.runtime.onMessage.addListener(this.handleMessage_.bind(this)); 226 chrome.runtime.onMessage.addListener(this.handleMessage_.bind(this));
227 chrome.runtime.onMessageExternal.addListener( 227 chrome.runtime.onMessageExternal.addListener(
228 this.handleMessage_.bind(this)); 228 this.handleMessage_.bind(this));
229 }; 229 };
230 230
231 231
232 new OptInManager().initialize(); 232 new OptInManager().initialize();
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_override_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698