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

Unified Diff: ui/webui/resources/polymer_resources.grdp

Issue 984553002: Added helper scripts for modifying polymer_resources.grdp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newline Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/polymer_resources.grdp
diff --git a/ui/webui/resources/polymer_resources.grdp b/ui/webui/resources/polymer_resources.grdp
index 2c58574c687cf02fc892ad37025b5fcd0be9447c..d51a8431be6d836761623e3f594ea6ef5a9e9ed2 100644
--- a/ui/webui/resources/polymer_resources.grdp
+++ b/ui/webui/resources/polymer_resources.grdp
@@ -1,4 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This file is generated.
+ Please use 'src/tools/polymer/polymer_grdp_to_txt.py' and
+ 'src/tools/polymer/txt_to_polymer_grdp.py' to modify it, if possible.
+
+ 'polymer_grdp_to_txt.py' converts 'polymer_resources.grdp' to a plane list of
+ used Polymer components:
+ ...
+ core-animation/core-animation.html
+ core-animation/web-animations.html
+ core-collapse/core-collapse-extracted.js
+ core-collapse/core-collapse.css
+ core-collapse/core-collapse.html
+ core-dropdown/core-dropdown-base-extracted.js
+ ...
+
+ 'txt_to_polymer_grdp.py' converts list back to GRDP file.
+
+ Usage:
+ $ polymer_grdp_to_txt.py polymer_resources.grdp > /tmp/list.txt
+ $ vim /tmp/list.txt
+ $ txt_to_polymer_grdp.py /tmp/list.txt > polymer_resources.grdp
+-->
<grit-part>
<structure name="IDR_POLYMER_CORE_A11Y_KEYS_CORE_A11Y_KEYS_EXTRACTED_JS"
file="../../../third_party/polymer/components-chromium/core-a11y-keys/core-a11y-keys-extracted.js"
@@ -48,18 +71,18 @@
<structure name="IDR_POLYMER_CORE_COLLAPSE_CORE_COLLAPSE_HTML"
file="../../../third_party/polymer/components-chromium/core-collapse/core-collapse.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown-extracted.js"
- type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_HTML"
- file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown.html"
- type="chrome_html" />
<structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_BASE_EXTRACTED_JS"
file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown-base-extracted.js"
type="chrome_html" />
<structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_BASE_HTML"
file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown-base.html"
type="chrome_html" />
+ <structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown-extracted.js"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_CORE_DROPDOWN_CORE_DROPDOWN_HTML"
+ file="../../../third_party/polymer/components-chromium/core-dropdown/core-dropdown.html"
+ type="chrome_html" />
<structure name="IDR_POLYMER_CORE_FOCUSABLE_CORE_FOCUSABLE_HTML"
file="../../../third_party/polymer/components-chromium/core-focusable/core-focusable.html"
type="chrome_html" />
@@ -78,14 +101,17 @@
<structure name="IDR_POLYMER_CORE_HEADER_PANEL_CORE_HEADER_PANEL_HTML"
file="../../../third_party/polymer/components-chromium/core-header-panel/core-header-panel.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_CSS"
- file="../../../third_party/polymer/components-chromium/core-icon/core-icon.css"
+ <structure name="IDR_POLYMER_CORE_ICONSET_CORE_ICONSET_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/core-iconset/core-iconset-extracted.js"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/core-icon/core-icon-extracted.js"
+ <structure name="IDR_POLYMER_CORE_ICONSET_CORE_ICONSET_HTML"
+ file="../../../third_party/polymer/components-chromium/core-iconset/core-iconset.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_HTML"
- file="../../../third_party/polymer/components-chromium/core-icon/core-icon.html"
+ <structure name="IDR_POLYMER_CORE_ICONSET_SVG_CORE_ICONSET_SVG_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg-extracted.js"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_CORE_ICONSET_SVG_CORE_ICONSET_SVG_HTML"
+ file="../../../third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html"
type="chrome_html" />
<structure name="IDR_POLYMER_CORE_ICONS_CORE_ICONS_HTML"
file="../../../third_party/polymer/components-chromium/core-icons/core-icons.html"
@@ -96,17 +122,14 @@
<structure name="IDR_POLYMER_CORE_ICONS_SOCIAL_ICONS_HTML"
file="../../../third_party/polymer/components-chromium/core-icons/social-icons.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICONSET_CORE_ICONSET_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/core-iconset/core-iconset-extracted.js"
- type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICONSET_CORE_ICONSET_HTML"
- file="../../../third_party/polymer/components-chromium/core-iconset/core-iconset.html"
+ <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_CSS"
+ file="../../../third_party/polymer/components-chromium/core-icon/core-icon.css"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICONSET_SVG_CORE_ICONSET_SVG_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg-extracted.js"
+ <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/core-icon/core-icon-extracted.js"
type="chrome_html" />
- <structure name="IDR_POLYMER_CORE_ICONSET_SVG_CORE_ICONSET_SVG_HTML"
- file="../../../third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html"
+ <structure name="IDR_POLYMER_CORE_ICON_CORE_ICON_HTML"
+ file="../../../third_party/polymer/components-chromium/core-icon/core-icon.html"
type="chrome_html" />
<structure name="IDR_POLYMER_CORE_INPUT_CORE_INPUT_CSS"
file="../../../third_party/polymer/components-chromium/core-input/core-input.css"
@@ -135,6 +158,12 @@
<structure name="IDR_POLYMER_CORE_LIST_CORE_LIST_CSS"
file="../../../third_party/polymer/components-chromium/core-list/core-list.css"
type="chrome_html" />
+ <structure name="IDR_POLYMER_CORE_LIST_CORE_LIST_CSS"
+ file="../../../third_party/polymer/components-chromium/core-list/core-list.css"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_CORE_LIST_CORE_LIST_CSS"
+ file="../../../third_party/polymer/components-chromium/core-list/core-list.css"
+ type="chrome_html" />
<structure name="IDR_POLYMER_CORE_LIST_CORE_LIST_EXTRACTED_JS"
file="../../../third_party/polymer/components-chromium/core-list/core-list-extracted.js"
type="chrome_html" />
@@ -270,11 +299,14 @@
<structure name="IDR_POLYMER_PAPER_DIALOG_PAPER_DIALOG_TRANSITION_HTML"
file="../../../third_party/polymer/components-chromium/paper-dialog/paper-dialog-transition.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_FAB_PAPER_FAB_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/paper-fab/paper-fab-extracted.js"
+ <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_CSS"
+ file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu.css"
type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_FAB_PAPER_FAB_HTML"
- file="../../../third_party/polymer/components-chromium/paper-fab/paper-fab.html"
+ <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_HTML"
+ file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu.html"
type="chrome_html" />
<structure name="IDR_POLYMER_PAPER_DROPDOWN_PAPER_DROPDOWN_EXTRACTED_JS"
file="../../../third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-extracted.js"
@@ -291,14 +323,11 @@
<structure name="IDR_POLYMER_PAPER_DROPDOWN_PAPER_DROPDOWN_TRANSITION_HTML"
file="../../../third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-transition.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_CSS"
- file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu.css"
- type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js"
+ <structure name="IDR_POLYMER_PAPER_FAB_PAPER_FAB_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/paper-fab/paper-fab-extracted.js"
type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_DROPDOWN_MENU_PAPER_DROPDOWN_MENU_HTML"
- file="../../../third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu.html"
+ <structure name="IDR_POLYMER_PAPER_FAB_PAPER_FAB_HTML"
+ file="../../../third_party/polymer/components-chromium/paper-fab/paper-fab.html"
type="chrome_html" />
<structure name="IDR_POLYMER_PAPER_ICON_BUTTON_PAPER_ICON_BUTTON_EXTRACTED_JS"
file="../../../third_party/polymer/components-chromium/paper-icon-button/paper-icon-button-extracted.js"
@@ -357,15 +386,6 @@
<structure name="IDR_POLYMER_PAPER_RIPPLE_PAPER_RIPPLE_HTML"
file="../../../third_party/polymer/components-chromium/paper-ripple/paper-ripple.html"
type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_CSS"
- file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.css"
- type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_EXTRACTED_JS"
- file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button-extracted.js"
- type="chrome_html" />
- <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_HTML"
- file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html"
- type="chrome_html" />
<structure name="IDR_POLYMER_PAPER_SHADOW_PAPER_SHADOW_CSS"
file="../../../third_party/polymer/components-chromium/paper-shadow/paper-shadow.css"
type="chrome_html" />
@@ -384,6 +404,15 @@
<structure name="IDR_POLYMER_PAPER_SLIDER_PAPER_SLIDER_HTML"
file="../../../third_party/polymer/components-chromium/paper-slider/paper-slider.html"
type="chrome_html" />
+ <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_CSS"
+ file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.css"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_EXTRACTED_JS"
+ file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button-extracted.js"
+ type="chrome_html" />
+ <structure name="IDR_POLYMER_PAPER_TOGGLE_BUTTON_PAPER_TOGGLE_BUTTON_HTML"
+ file="../../../third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html"
+ type="chrome_html" />
<structure name="IDR_POLYMER_POLYMER_LAYOUT_HTML"
file="../../../third_party/polymer/components-chromium/polymer/layout.html"
type="chrome_html" />
@@ -400,3 +429,4 @@
file="../../../third_party/web-animations-js/sources/web-animations-next-lite.min.js.map"
type="chrome_html" />
</grit-part>
+
« tools/polymer/txt_to_polymer_grdp.py ('K') | « tools/polymer/txt_to_polymer_grdp.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698