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

Unified Diff: chrome/browser/resources/media_router/elements/drop_down_button/drop_down_button.js

Issue 1128023003: Media Router: Replace drop-down-button with core-icon-button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/media_router/elements/drop_down_button/drop_down_button.js
diff --git a/chrome/browser/resources/media_router/elements/drop_down_button/drop_down_button.js b/chrome/browser/resources/media_router/elements/drop_down_button/drop_down_button.js
deleted file mode 100644
index 613047c46636c3b402570dbf5b7da39718c869ee..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/media_router/elements/drop_down_button/drop_down_button.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 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.
-
-// This Polymer element is used as a button to toggle a drop down, such as
-// the cast-mode-picker.
-Polymer('drop-down-button', {
- /**
- * Whether or not to use the icon indicating that the drop down is shown.
- * @private {boolean}
- * @default false
- */
- useShownIcon_: false,
-
- /**
- * Fires a drop-down-button-click event. This is called when |this| is
- * clicked. Switches the value of |useShownIcon_|.
- */
- onButtonClick: function() {
- this.useShownIcon_ = !this.useShownIcon_;
- this.fire('drop-down-button-click');
- },
-});

Powered by Google App Engine
This is Rietveld 408576698