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

Side by Side Diff: chrome/browser/ui/webui/media_router/media_router_resources_provider.cc

Issue 1805813002: [Media Router] Wiring for searching route providers for new sinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarifying pseudo sink comments Created 4 years, 8 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 "chrome/browser/ui/webui/media_router/media_router_resources_provider.h " 5 #include "chrome/browser/ui/webui/media_router/media_router_resources_provider.h "
6 6
7 #include "content/public/browser/web_ui_data_source.h" 7 #include "content/public/browser/web_ui_data_source.h"
8 #include "grit/browser_resources.h" 8 #include "grit/browser_resources.h"
9 9
10 namespace { 10 namespace {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_JS); 66 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_JS);
67 html_source->AddResourcePath( 67 html_source->AddResourcePath(
68 "elements/route_details/route_details.css", 68 "elements/route_details/route_details.css",
69 IDR_ROUTE_DETAILS_CSS); 69 IDR_ROUTE_DETAILS_CSS);
70 html_source->AddResourcePath( 70 html_source->AddResourcePath(
71 "elements/route_details/route_details.html", 71 "elements/route_details/route_details.html",
72 IDR_ROUTE_DETAILS_HTML); 72 IDR_ROUTE_DETAILS_HTML);
73 html_source->AddResourcePath( 73 html_source->AddResourcePath(
74 "elements/route_details/route_details.js", 74 "elements/route_details/route_details.js",
75 IDR_ROUTE_DETAILS_JS); 75 IDR_ROUTE_DETAILS_JS);
76 html_source->AddResourcePath(
77 "elements/media_router_container/pseudo_sink_search_state.js",
78 IDR_PSEUDO_SINK_SEARCH_STATE_JS);
76 } 79 }
77 80
78 } // namespace 81 } // namespace
79 82
80 namespace media_router { 83 namespace media_router {
81 84
82 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) { 85 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) {
83 AddMainWebResources(html_source); 86 AddMainWebResources(html_source);
84 AddPolymerElements(html_source); 87 AddPolymerElements(html_source);
85 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML); 88 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML);
86 } 89 }
87 90
88 } // namespace media_router 91 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698