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

Side by Side Diff: content/common/input_messages.h

Issue 1408123005: Android Webview IPC-based sync compositing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for input events and other messages that require processing in 5 // IPC messages for input events and other messages that require processing in
6 // order relative to input events. 6 // order relative to input events.
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 23 matching lines...) Expand all
34 34
35 #undef IPC_MESSAGE_EXPORT 35 #undef IPC_MESSAGE_EXPORT
36 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 36 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
37 37
38 #ifdef IPC_MESSAGE_START 38 #ifdef IPC_MESSAGE_START
39 #error IPC_MESSAGE_START 39 #error IPC_MESSAGE_START
40 #endif 40 #endif
41 41
42 #define IPC_MESSAGE_START InputMsgStart 42 #define IPC_MESSAGE_START InputMsgStart
43 43
44 IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventAckState,
45 content::INPUT_EVENT_ACK_STATE_MAX)
46 IPC_ENUM_TRAITS_MAX_VALUE( 44 IPC_ENUM_TRAITS_MAX_VALUE(
47 content::SyntheticGestureParams::GestureSourceType, 45 content::SyntheticGestureParams::GestureSourceType,
48 content::SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX) 46 content::SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX)
49 IPC_ENUM_TRAITS_MAX_VALUE( 47 IPC_ENUM_TRAITS_MAX_VALUE(
50 content::SyntheticGestureParams::GestureType, 48 content::SyntheticGestureParams::GestureType,
51 content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX) 49 content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX)
52 IPC_ENUM_TRAITS_VALIDATE(content::TouchAction, ( 50 IPC_ENUM_TRAITS_VALIDATE(content::TouchAction, (
53 value >= 0 && 51 value >= 0 &&
54 value <= content::TOUCH_ACTION_MAX && 52 value <= content::TOUCH_ACTION_MAX &&
55 (!(value & content::TOUCH_ACTION_NONE) || 53 (!(value & content::TOUCH_ACTION_NONE) ||
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // This IPC message sends the character bounds after every composition change 282 // This IPC message sends the character bounds after every composition change
285 // to always have correct bound info. 283 // to always have correct bound info.
286 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 284 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
287 gfx::Range /* composition range */, 285 gfx::Range /* composition range */,
288 std::vector<gfx::Rect> /* character bounds */) 286 std::vector<gfx::Rect> /* character bounds */)
289 287
290 // Adding a new message? Stick to the sort order above: first platform 288 // Adding a new message? Stick to the sort order above: first platform
291 // independent InputMsg, then ifdefs for platform specific InputMsg, then 289 // independent InputMsg, then ifdefs for platform specific InputMsg, then
292 // platform independent InputHostMsg, then ifdefs for platform specific 290 // platform independent InputHostMsg, then ifdefs for platform specific
293 // InputHostMsg. 291 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698