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: Source/core/page/EventHandler.h

Issue 556813002: Fix behavior of label associated with control element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 3 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: Source/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index 1707d1ebc6478dd7887a4a254bc0a979cf38db6d..4a543350278a8e8e3a76fdb6d5d2505db16e99e9 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -198,6 +198,9 @@ public:
PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_lastMouseDownUserGestureToken.release(); }
+ int clickCount() { return m_clickCount; }
+ bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClickInSelection; }
+
private:
static DragState& dragState();
« Source/core/html/HTMLLabelElement.cpp ('K') | « Source/core/html/HTMLLabelElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698