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

Side by Side Diff: chrome/browser/resources/media_router/media_router.js

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 months 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <include src="media_router_data.js"> 5 // <include src="media_router_data.js">
6 <include src="media_router_ui_interface.js"> 6 // <include src="media_router_ui_interface.js">
7 7
8 // Handles user events for the Media Router UI. 8 // Handles user events for the Media Router UI.
9 cr.define('media_router', function() { 9 cr.define('media_router', function() {
10 'use strict'; 10 'use strict';
11 11
12 /** 12 /**
13 * The media-router-container element. Initialized after polymer is ready. 13 * The media-router-container element. Initialized after polymer is ready.
14 * @type {?MediaRouterContainerElement} 14 * @type {?MediaRouterContainerElement}
15 */ 15 */
16 var container = null; 16 var container = null;
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 function onWindowBlur() { 379 function onWindowBlur() {
380 media_router.browserApi.reportBlur(); 380 media_router.browserApi.reportBlur();
381 } 381 }
382 382
383 return { 383 return {
384 initialize: initialize, 384 initialize: initialize,
385 }; 385 };
386 }); 386 });
387 387
388 window.addEventListener('load', media_router.initialize); 388 window.addEventListener('load', media_router.initialize);
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_user_manager/user_manager.js ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698