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

Unified Diff: ui/webui/resources/cr_elements/v1_0/demo_element.js

Issue 1406023003: Elim cr_elements/v1_0 subdirectory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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/cr_elements/v1_0/demo_element.js
diff --git a/ui/webui/resources/cr_elements/v1_0/demo_element.js b/ui/webui/resources/cr_elements/v1_0/demo_element.js
deleted file mode 100644
index 475e7fe58e7c0cf2517ddcec50eba64233fe461f..0000000000000000000000000000000000000000
--- a/ui/webui/resources/cr_elements/v1_0/demo_element.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview Polymer element for UI wrapping a list of cr- elements.
- */
-Polymer({
- is: 'cr-demo-element',
-
- properties: {
- checkboxChecked: {
- type: Boolean,
- value: false,
- observer: 'checkboxCheckedChanged_'
- },
-
- collapseOpened: {
- type: Boolean,
- value: false,
- observer: 'collapseOpenedChanged_'
- },
-
- inputValues: {
- type: Array,
- value: function() { return ["", "input1", "input2", "", "input4"]; },
- observer: 'inputValuesChanged_'
- },
-
- checkboxLabel: {
- type: String,
- value: 'CheckboxLabel',
- },
-
- subLabel: {
- type: String,
- value: 'sub-label',
- },
- },
-
- checkboxCheckedChanged_: function() {
- console.log('checkboxCheckedChanged=' + this.checkboxChecked);
- },
-
- collapseOpenedChanged_: function() {
- console.log('collapseOpened=' + this.collapseOpened);
- },
-
- inputValuesChanged_: function() {
- console.log('inputValues=' + this.inputValues);
- }
-});
« no previous file with comments | « ui/webui/resources/cr_elements/v1_0/demo_element.html ('k') | ui/webui/resources/cr_elements/v1_0/demo_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698