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

Unified Diff: Tools/GardeningServer/ui/ct-tree-select.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Tools/GardeningServer/ui/ct-test-output.html ('k') | Tools/GardeningServer/ui/ct-tree-status.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-tree-select.html
diff --git a/Tools/GardeningServer/ui/ct-tree-select.html b/Tools/GardeningServer/ui/ct-tree-select.html
deleted file mode 100644
index e53242d81d6703c90bc3c0a8160d2f1515fcc1d8..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-tree-select.html
+++ /dev/null
@@ -1,47 +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.
--->
-
-<polymer-element name="ct-tree-select" attributes="tree treeList">
- <template>
- <select id='treeSelect' on-change="{{ _updateTree }}" value="{{ tree }}">
- <template repeat="{{ s in treeList.trees }}">
- <option value="{{ s.name }}">{{ s.displayName }}</option>
- </template>
- </select>
- </template>
- <script>
- (function() {
- Polymer({
- publish: {
- tree: {
- reflect: true,
- },
- },
-
- _updateTree: function(event) {
- this.asyncFire('navigate', {
- url: event.target.value
- });
- },
-
- treeChanged: function() {
- if (!this.tree.length)
- return;
-
- // Enforce the tree list, so we don't show a blank select value.
- var option = this.$.treeSelect.querySelector('option[value="' + this.tree + '"]');
- if (!option) {
- // URL is incorrect. Replace with the root so we use the default tree.
- this.asyncFire('navigate', {
- url: '/',
- replaceState: true
- });
- }
- },
- });
- })();
- </script>
-</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-test-output.html ('k') | Tools/GardeningServer/ui/ct-tree-status.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698