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

Unified Diff: third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp

Issue 2209773002: Remove the blocking touch handlers for the input[type=range] and add touch-action instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the touch event handlers to the container in the shadow dom 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/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp b/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
index f03ce86208302697e25065fe70c4bc9d84f14a4c..f09e7063da20dacc18a3cafb8535da82a43cfc0c 100644
--- a/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
@@ -112,6 +112,12 @@ const AtomicString& sliderTrack()
return name;
}
+const AtomicString& sliderContainer()
+{
+ DEFINE_STATIC_LOCAL(AtomicString, name, ("container"));
+ return name;
+}
+
const AtomicString& textFieldContainer()
{
DEFINE_STATIC_LOCAL(AtomicString, name, ("text-field-container"));

Powered by Google App Engine
This is Rietveld 408576698