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

Unified Diff: lib/paper_button.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates 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
« no previous file with comments | « lib/paper_badge_nodart.html ('k') | lib/paper_button_behavior.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/paper_button.dart
diff --git a/lib/paper_button.dart b/lib/paper_button.dart
index 42c24914b5976edddd3261240721a4a3507f6722..9a2d76cb77f7e89c3c1d262a56dbd57ca4d57ba1 100644
--- a/lib/paper_button.dart
+++ b/lib/paper_button.dart
@@ -12,11 +12,12 @@ import 'paper_button_behavior.dart';
import 'iron_button_state.dart';
import 'iron_a11y_keys_behavior.dart';
import 'iron_control_state.dart';
+import 'paper_ripple_behavior.dart';
import 'paper_material.dart';
import 'paper_ripple.dart';
import 'iron_flex_layout.dart';
-/// Material Design: <a href="http://www.google.com/design/spec/components/buttons.html">Buttons</a>
+/// Material design: [Buttons](https://www.google.com/design/spec/components/buttons.html)
///
/// `paper-button` is a button. When the user touches the button, a ripple effect emanates
/// from the point of contact. It may be flat or raised. A raised button is styled with a
@@ -72,7 +73,7 @@ import 'iron_flex_layout.dart';
/// `--paper-button-flat-keyboard-focus` | Mixin applied to a flat button after it's been focused using the keyboard | `{}`
/// `--paper-button-raised-keyboard-focus` | Mixin applied to a raised button after it's been focused using the keyboard | `{}`
@CustomElementProxy('paper-button')
-class PaperButton extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperButtonBehavior {
+class PaperButton extends HtmlElement with CustomElementProxyMixin, PolymerBase, IronA11yKeysBehavior, IronButtonState, IronControlState, PaperRippleBehavior, PaperButtonBehavior {
PaperButton.created() : super.created();
factory PaperButton() => new Element.tag('paper-button');
« no previous file with comments | « lib/paper_badge_nodart.html ('k') | lib/paper_button_behavior.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698