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

Unified Diff: Source/web/WebInputEventConversion.cpp

Issue 879333002: Support buttons attribute for drag event (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/web/WebInputEventConversion.cpp
diff --git a/Source/web/WebInputEventConversion.cpp b/Source/web/WebInputEventConversion.cpp
index afe7abfce22041ba349fd2e6aff2930b55794b35..b338599f4a5141ddc8e25cac98bded02dc2dffda 100644
--- a/Source/web/WebInputEventConversion.cpp
+++ b/Source/web/WebInputEventConversion.cpp
@@ -114,7 +114,7 @@ static unsigned toPlatformEventModifiers(int webModifiers)
return newModifiers;
}
-static unsigned toPlatformMouseEventModifiers(int webModifiers)
+unsigned toPlatformMouseEventModifiers(int webModifiers)
{
unsigned newModifiers = toPlatformEventModifiers(webModifiers);
if (webModifiers & WebInputEvent::LeftButtonDown)

Powered by Google App Engine
This is Rietveld 408576698