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

Unified Diff: Source/core/input/InputDevice.h

Issue 1174683004: Populates sourceDevice attribute into MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add initinternal Created 5 years, 6 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
« no previous file with comments | « Source/core/input/EventHandler.cpp ('k') | Source/core/input/InputDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/input/InputDevice.h
diff --git a/Source/core/input/InputDevice.h b/Source/core/input/InputDevice.h
index 80238f0e90978aac33bef5b6c73a371356c0f3d0..0dbac572a2f938b85ab56871e094e41a2be19e3c 100644
--- a/Source/core/input/InputDevice.h
+++ b/Source/core/input/InputDevice.h
@@ -18,7 +18,10 @@ public:
~InputDevice();
// This return a static local InputDevice pointer which has firesTouchEvents set to be true.
- static InputDevice* touchEventInstance();
+ static InputDevice* firesTouchEventsInputDevice();
+
+ // This return a static local InputDevice pointer which has firesTouchEvents set to be false.
+ static InputDevice* doesntFireTouchEventsInputDevice();
static InputDevice* create(bool firesTouchEvents)
{
« no previous file with comments | « Source/core/input/EventHandler.cpp ('k') | Source/core/input/InputDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698