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

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

Issue 1134463008: Use core/paper elements in media-router-container. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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
« no previous file with comments | « chrome/browser/resources/media_router/media_router.css ('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 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 {
11 11
12 void AddIcons(content::WebUIDataSource* html_source) { 12 void AddIcons(content::WebUIDataSource* html_source) {
13 html_source->AddResourcePath("elements/icon/close-gray.png",
14 IDR_CLOSE_GRAY_ICON);
15 html_source->AddResourcePath("elements/icon/close-gray2x.png",
16 IDR_CLOSE_GRAY_2X_ICON);
17 html_source->AddResourcePath("elements/icon/drop-down-arrow.png", 13 html_source->AddResourcePath("elements/icon/drop-down-arrow.png",
18 IDR_DROP_DOWN_ARROW_ICON); 14 IDR_DROP_DOWN_ARROW_ICON);
19 html_source->AddResourcePath("elements/icon/drop-down-arrow2x.png", 15 html_source->AddResourcePath("elements/icon/drop-down-arrow2x.png",
20 IDR_DROP_DOWN_ARROW_2X_ICON); 16 IDR_DROP_DOWN_ARROW_2X_ICON);
21 html_source->AddResourcePath("elements/icon/drop-down-arrow-hover.png", 17 html_source->AddResourcePath("elements/icon/drop-down-arrow-hover.png",
22 IDR_DROP_DOWN_ARROW_HOVER_ICON); 18 IDR_DROP_DOWN_ARROW_HOVER_ICON);
23 html_source->AddResourcePath("elements/icon/drop-down-arrow-hover2x.png", 19 html_source->AddResourcePath("elements/icon/drop-down-arrow-hover2x.png",
24 IDR_DROP_DOWN_ARROW_HOVER_2X_ICON); 20 IDR_DROP_DOWN_ARROW_HOVER_2X_ICON);
25 html_source->AddResourcePath("elements/icon/drop-down-arrow-showing.png", 21 html_source->AddResourcePath("elements/icon/drop-down-arrow-showing.png",
26 IDR_DROP_DOWN_ARROW_SHOWING_ICON); 22 IDR_DROP_DOWN_ARROW_SHOWING_ICON);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 namespace media_router { 93 namespace media_router {
98 94
99 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) { 95 void AddMediaRouterUIResources(content::WebUIDataSource* html_source) {
100 AddIcons(html_source); 96 AddIcons(html_source);
101 AddMainWebResources(html_source); 97 AddMainWebResources(html_source);
102 AddPolymerElements(html_source); 98 AddPolymerElements(html_source);
103 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML); 99 html_source->SetDefaultResource(IDR_MEDIA_ROUTER_HTML);
104 } 100 }
105 101
106 } // namespace media_router 102 } // namespace media_router
OLDNEW
« no previous file with comments | « chrome/browser/resources/media_router/media_router.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698