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

Unified Diff: Source/WebCore/Resources/pagepopups/pickerCommon.js

Issue 11364040: Merge 133011 - Calendar picker can flicker when opened from the suggestion picker (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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 | « Source/WebCore/ChangeLog ('k') | Source/WebCore/Resources/pagepopups/suggestionPicker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/Resources/pagepopups/pickerCommon.js
===================================================================
--- Source/WebCore/Resources/pagepopups/pickerCommon.js (revision 133256)
+++ Source/WebCore/Resources/pagepopups/pickerCommon.js (working copy)
@@ -169,8 +169,9 @@
window.addEventListener("resize", function() {
if (window.innerWidth === 1 && window.innerHeight === 1)
- return;
- window.dispatchEvent(new CustomEvent("didOpenPicker"));
+ window.dispatchEvent(new CustomEvent("didHide"));
+ else
+ window.dispatchEvent(new CustomEvent("didOpenPicker"));
}, false);
/**
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/Resources/pagepopups/suggestionPicker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698