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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js

Issue 2280513002: MD History: promote menu button to show clear browsing data in narrow mode (Closed)
Patch Set: asdf Created 4 years, 4 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: third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js
index ed84ac2f51a755320f4281e4f0868f7fa50f525c..998e2003150a475a2cedce954d9ef64cc09840f9 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js
@@ -104,7 +104,6 @@ Polymer({
listeners: {
'neon-animation-finish': '_onAnimationFinish',
- 'mouseenter': 'hide'
},
/**
@@ -139,6 +138,7 @@ Polymer({
this.listen(this._target, 'mouseleave', 'hide');
this.listen(this._target, 'blur', 'hide');
this.listen(this._target, 'tap', 'hide');
+ this.listen(this, 'mouseenter', 'hide');
Dan Beam 2016/08/25 01:24:43 this already landed in Polymer, I just don't reall
tsergeant 2016/08/25 04:51:00 Acknowledged.
},
detached: function() {
@@ -148,6 +148,7 @@ Polymer({
this.unlisten(this._target, 'mouseleave', 'hide');
this.unlisten(this._target, 'blur', 'hide');
this.unlisten(this._target, 'tap', 'hide');
+ this.unlisten(this, 'mouseenter', 'hide');
}
},
@@ -266,4 +267,4 @@ Polymer({
this.toggleClass('hidden', true, this.$.tooltip);
}
},
- });
+ });

Powered by Google App Engine
This is Rietveld 408576698