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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2776663002: input[type=date]: Enlarge day fields if touch-enabled input devices are available (Closed)
Patch Set: Created 3 years, 9 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/WebKit/Source/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index defe1a1b0fc2ba06d2743742263eabb2b12ef3e3..a91ea23b30fddfda1914a60a75d1d8d24e7fe7b8 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -303,6 +303,10 @@ bool WebPagePopupImpl::initializePage() {
mainSettings.getAccessibilityEnabled());
m_page->settings().setScrollAnimatorEnabled(
mainSettings.getScrollAnimatorEnabled());
+ m_page->settings().setAvailablePointerTypes(
+ mainSettings.getAvailablePointerTypes());
+ m_page->settings().setPrimaryPointerType(
+ mainSettings.getPrimaryPointerType());
provideContextFeaturesTo(*m_page, WTF::makeUnique<PagePopupFeaturesClient>());
DEFINE_STATIC_LOCAL(LocalFrameClient, emptyLocalFrameClient,

Powered by Google App Engine
This is Rietveld 408576698