Commit 601571f8 authored by dpapad's avatar dpapad Committed by Commit Bot

Cleanup: Rename cr_png_behavior.js to png.js

The latter is a better name for the contents of that file, as it
is no longer a Polymer behavior. Also re-running clang-format.

Bug: None
Change-Id: I1e638271b5d973c426d392ee3fc9dbd7e0114bea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107055
Commit-Queue: dpapad <dpapad@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751160}
parent f2c6fed5
......@@ -138,7 +138,7 @@ js_library("os_people_page") {
"//chrome/browser/resources/settings/people_page:signout_dialog",
"//chrome/browser/resources/settings/people_page:sync_browser_proxy",
"//ui/webui/resources/cr_components/chromeos/quick_unlock:lock_screen_constants",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_png_behavior",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:png",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:icon",
......
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_png_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/png.html">
<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
<link rel="import" href="chrome://resources/cr_elements/cr_link_row/cr_link_row.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
......
......@@ -21,7 +21,7 @@ js_library("change_picture") {
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_list",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_pane",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_picture_types",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_png_behavior",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:png",
"//ui/webui/resources/js:i18n_behavior",
"//ui/webui/resources/js:load_time_data",
"//ui/webui/resources/js:util",
......
......@@ -3,7 +3,7 @@
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_picture_list.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_picture_types.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_png_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/png.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/util.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
......
......@@ -69,7 +69,7 @@ js_library("people_page") {
"..:router",
"../settings_page:settings_animated_pages",
"//ui/webui/resources/cr_components/chromeos/quick_unlock:lock_screen_constants",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:cr_png_behavior",
"//ui/webui/resources/cr_elements/chromeos/cr_picture:png",
"//ui/webui/resources/cr_elements/cr_toast:cr_toast",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:i18n_behavior",
......
......@@ -30,7 +30,7 @@
<if expr="chromeos">
<link rel="import" href="account_manager_browser_proxy.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/cr_png_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/chromeos/cr_picture/png.html">
</if>
<if expr="not chromeos">
<link rel="import" href="import_data_dialog.html">
......
......@@ -10,18 +10,18 @@ js_type_check("closure_compile") {
":cr_picture_list",
":cr_picture_pane",
":cr_picture_types",
":cr_png_behavior",
":png",
]
}
js_library("cr_camera") {
deps = [ ":cr_png_behavior" ]
deps = [ ":png" ]
}
js_library("cr_picture_list") {
deps = [
":cr_picture_types",
":cr_png_behavior",
":png",
"//third_party/polymer/v1_0/components-chromium/iron-selector:iron-selector-extracted",
"//ui/webui/resources/js:assert",
]
......@@ -31,13 +31,13 @@ js_library("cr_picture_pane") {
deps = [
":cr_camera",
":cr_picture_types",
":cr_png_behavior",
":png",
]
}
js_library("cr_picture_types") {
}
js_library("cr_png_behavior") {
js_library("png") {
deps = [ "//ui/webui/resources/js:cr" ]
}
......@@ -4,7 +4,7 @@
<link rel="import" href="../../cr_icon_button/cr_icon_button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
<link rel="import" href="cr_png_behavior.html">
<link rel="import" href="png.html">
<link rel="import" href="icons.html">
<dom-module id="cr-camera">
......
......@@ -6,7 +6,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-selector.html">
<link rel="import" href="cr_picture_types.html">
<link rel="import" href="cr_png_behavior.html">
<link rel="import" href="png.html">
<dom-module id="cr-picture-list">
<template>
......
......@@ -4,7 +4,7 @@
<link rel="import" href="../../cr_icon_button/cr_icon_button.html">
<link rel="import" href="cr_camera.html">
<link rel="import" href="cr_picture_types.html">
<link rel="import" href="cr_png_behavior.html">
<link rel="import" href="png.html">
<dom-module id="cr-picture-pane">
<template>
......
<link rel="import" href="../../../html/cr.html">
<script src="cr_png_behavior.js"></script>
<script src="png.js"></script>
......@@ -207,12 +207,12 @@
file="cr_elements/chromeos/cr_picture/cr_picture_types.js"
type="chrome_html"
compress="gzip" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PNG_BEHAVIOR_HTML"
file="cr_elements/chromeos/cr_picture/cr_png_behavior.html"
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_PNG_HTML"
file="cr_elements/chromeos/cr_picture/png.html"
type="chrome_html"
compress="gzip" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PNG_BEHAVIOR_JS"
file="cr_elements/chromeos/cr_picture/cr_png_behavior.js"
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_PNG_JS"
file="cr_elements/chromeos/cr_picture/png.js"
type="chrome_html"
compress="gzip" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_ICONS_HTML"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment