diff options
author | dominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:09:01 +0000 |
---|---|---|
committer | dominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:09:01 +0000 |
commit | eafe58fdf276d7cd6b50eeb59ad54021a9ca355d (patch) | |
tree | 311b461b39f0549619adc89b2b2ed83b8116d459 /content/content_common.gypi | |
parent | fe54cf1993710bfb47548f1aecb3bd5e65122c03 (diff) | |
download | chromium_src-eafe58fdf276d7cd6b50eeb59ad54021a9ca355d.zip chromium_src-eafe58fdf276d7cd6b50eeb59ad54021a9ca355d.tar.gz chromium_src-eafe58fdf276d7cd6b50eeb59ad54021a9ca355d.tar.bz2 |
Implement new synthetic gesture class.
First patch in an effort to clean up synthetic gesture handling.
Implement abstract synthetic gesture class, with subclasses for each individual
gesture (only smooth scroll for now). Gestures are manually serialized and
deserialized to send them over IPC without requiring specific message types for
each gesture type.
The class is called "NewSyntheticGesture" for now to avoid clashes with the current SyntheticGesture class. Once the new synthetic gesture stack is complete, I'll remove the old class and rename the new one.
Add SyntheticGesturePacket as a wrapper for synthetic gestures and implement
ParamTraits template for sending it over IPC.
Unit test for checking that serializing and deserializing gestures works as
intended.
BUG=297980
Review URL: https://codereview.chromium.org/25088004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index 8cfd22b..9c70800 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -264,6 +264,12 @@ 'common/input/input_param_traits.h', 'common/input/scoped_web_input_event.cc', 'common/input/scoped_web_input_event.h', + 'common/input/synthetic_gesture_packet.cc', + 'common/input/synthetic_gesture_packet.h', + 'common/input/synthetic_gesture_params.cc', + 'common/input/synthetic_gesture_params.h', + 'common/input/synthetic_smooth_scroll_gesture_params.cc', + 'common/input/synthetic_smooth_scroll_gesture_params.h', 'common/input/web_input_event_traits.cc', 'common/input/web_input_event_traits.h', 'common/input_messages.h', |