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

Unified Diff: chrome/browser/resources/settings/checkbox/checkbox.html

Issue 1131793002: Upgrade checkbox, pref-tracker, and prefs to 0.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crelements
Patch Set: update settings_resources.grd 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/checkbox/checkbox.html
diff --git a/chrome/browser/resources/settings/checkbox/checkbox.html b/chrome/browser/resources/settings/checkbox/checkbox.html
index e4e884cab507860cb1acd477ca4328c8c0514c55..ea3784d66f420ea12980e825a7c560f82c2ae6c0 100644
--- a/chrome/browser/resources/settings/checkbox/checkbox.html
+++ b/chrome/browser/resources/settings/checkbox/checkbox.html
@@ -1,21 +1,19 @@
-<link rel="import" href="chrome://resources/polymer/core-label/core-label.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_events/cr_events.html">
+<link rel="import" href="chrome://resources/polymer/v0_8/polymer/polymer.html">
+<link rel="import" href="chrome://resources/cr_elements/v0_8/cr_checkbox/cr_checkbox.html">
+<link rel="import" href="chrome://resources/cr_elements/v0_8/cr_events/cr_events.html">
<link rel="import" href="chrome://md-settings/pref_tracker/pref_tracker.html">
-<link rel="import" href="checkbox_style.html">
-<polymer-element name="cr-settings-checkbox">
+<dom-module id="cr-settings-checkbox">
+ <link rel="import" type="css" href="checkbox.css">
<template>
- <core-style ref="checkboxStyle"></core-style>
<cr-events id="events"></cr-events>
- <cr-settings-pref-tracker pref="{{pref}}"></cr-settings-pref-tracker>
+ <cr-settings-pref-tracker pref="[[pref]]"></cr-settings-pref-tracker>
- <core-label horizontal layout>
- <cr-checkbox id="checkbox" checked="{{pref.value}}"
- disabled="{{pref.disabled}}" for></cr-checkbox>
+ <cr-checkbox id="checkbox" checked="{{pref.value}}"
+ disabled="[[pref.disabled]]">
<span>{{label}}</span>
<span class="sub-label">{{subLabel}}</span>
- </core-label>
+ </cr-checkbox>
</template>
<script src="checkbox.js"></script>
-</polymer-element>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/settings/checkbox/checkbox.css ('k') | chrome/browser/resources/settings/checkbox/checkbox.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698