diff options
author | dgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-14 16:47:12 +0000 |
---|---|---|
committer | dgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-14 16:47:12 +0000 |
commit | e6c43c1244f8b35669900d810d0247c316b1af2c (patch) | |
tree | 1c938a4b280374e7d46fc0f11a12c6daf1fdf0fe /content/child | |
parent | c672c0f56a71c3a2157feba1b99893c67103fe18 (diff) | |
download | chromium_src-e6c43c1244f8b35669900d810d0247c316b1af2c.zip chromium_src-e6c43c1244f8b35669900d810d0247c316b1af2c.tar.gz chromium_src-e6c43c1244f8b35669900d810d0247c316b1af2c.tar.bz2 |
[DevTools] Touch emulation in content.
When renderer requests touch emulation using mouse, host creates
a TouchEmulator object and passes mouse, mouse wheel and keyboard events
to emulator before sending them to renderer.
Emulator completely blocks mouse-related events, and instead generates
touch events. Those touch events are handled over to gesture provider
after being acked by renderer. Resulting gestures are sent to the renderer.
When shift is pressed, scroll gestures are converted to pinch gestures, so
user can scale the page. This is required because multitouch is not yet
supported by emulator.
BUG=337142
Review URL: https://codereview.chromium.org/138163016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child')
-rw-r--r-- | content/child/blink_platform_impl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc index 9b2898e..237d2c8 100644 --- a/content/child/blink_platform_impl.cc +++ b/content/child/blink_platform_impl.cc @@ -701,6 +701,7 @@ const DataResource kDataResources[] = { { "generatePassword", IDR_PASSWORD_GENERATION_ICON, ui::SCALE_FACTOR_100P }, { "generatePasswordHover", IDR_PASSWORD_GENERATION_ICON_HOVER, ui::SCALE_FACTOR_100P }, + // TODO(dgozman): remove this after moving to content-based touch emulation. { "syntheticTouchCursor", IDR_SYNTHETIC_TOUCH_CURSOR, ui::SCALE_FACTOR_100P }, }; |