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

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

Issue 2725503002: [Media Router] Custom Controls 4 - Implement details view WebUI (Closed)
Patch Set: Add braces to @implements {Interface} Created 3 years, 6 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 "chrome/grit/browser_resources.h" 7 #include "chrome/grit/browser_resources.h"
8 #include "content/public/browser/web_ui_data_source.h" 8 #include "content/public/browser/web_ui_data_source.h"
9 9
10 namespace { 10 namespace {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "media_router_search_highlighter.css", 57 "media_router_search_highlighter.css",
58 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_CSS); 58 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_CSS);
59 html_source->AddResourcePath( 59 html_source->AddResourcePath(
60 "elements/media_router_search_highlighter/" 60 "elements/media_router_search_highlighter/"
61 "media_router_search_highlighter.html", 61 "media_router_search_highlighter.html",
62 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_HTML); 62 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_HTML);
63 html_source->AddResourcePath( 63 html_source->AddResourcePath(
64 "elements/media_router_search_highlighter/" 64 "elements/media_router_search_highlighter/"
65 "media_router_search_highlighter.js", 65 "media_router_search_highlighter.js",
66 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_JS); 66 IDR_MEDIA_ROUTER_SEARCH_HIGHLIGHTER_JS);
67 html_source->AddResourcePath( 67 html_source->AddResourcePath("elements/route_controls/route_controls.css",
68 "elements/route_details/route_details.css", 68 IDR_ROUTE_CONTROLS_CSS);
69 IDR_ROUTE_DETAILS_CSS); 69 html_source->AddResourcePath("elements/route_controls/route_controls.html",
70 IDR_ROUTE_CONTROLS_HTML);
71 html_source->AddResourcePath("elements/route_controls/route_controls.js",
72 IDR_ROUTE_CONTROLS_JS);
73 html_source->AddResourcePath("elements/route_details/route_details.css",
74 IDR_ROUTE_DETAILS_CSS);
70 html_source->AddResourcePath( 75 html_source->AddResourcePath(
71 "elements/route_details/route_details.html", 76 "elements/route_details/route_details.html",
72 IDR_ROUTE_DETAILS_HTML); 77 IDR_ROUTE_DETAILS_HTML);
73 html_source->AddResourcePath( 78 html_source->AddResourcePath(
74 "elements/route_details/route_details.js", 79 "elements/route_details/route_details.js",
75 IDR_ROUTE_DETAILS_JS); 80 IDR_ROUTE_DETAILS_JS);
76 html_source->AddResourcePath( 81 html_source->AddResourcePath(
77 "elements/media_router_container/pseudo_sink_search_state.js", 82 "elements/media_router_container/pseudo_sink_search_state.js",
78 IDR_PSEUDO_SINK_SEARCH_STATE_JS); 83 IDR_PSEUDO_SINK_SEARCH_STATE_JS);
84 html_source->AddResourcePath(
85 "elements/route_details/extension_view_wrapper/"
86 "extension_view_wrapper.html",
87 IDR_EXTENSION_VIEW_WRAPPER_HTML);
88 html_source->AddResourcePath(
89 "elements/route_details/extension_view_wrapper/extension_view_wrapper.js",
90 IDR_EXTENSION_VIEW_WRAPPER_JS);
91 html_source->AddResourcePath(
92 "elements/route_details/extension_view_wrapper/"
93 "extension_view_wrapper.css",
94 IDR_EXTENSION_VIEW_WRAPPER_CSS);
79 } 95 }
80 96
81 } // namespace 97 } // namespace
82 98
83 namespace media_router { 99 namespace media_router {
84 100
85 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) { 101 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) {
86 AddMainWebResources(html_source); 102 AddMainWebResources(html_source);
87 AddPolymerElements(html_source); 103 AddPolymerElements(html_source);
88 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML); 104 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML);
89 } 105 }
90 106
91 } // namespace media_router 107 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698