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

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

Issue 8089002: Input event filtering and compositor thread setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/css_colors.h" 12 #include "content/common/css_colors.h"
13 #include "content/common/edit_command.h" 13 #include "content/common/edit_command.h"
14 #include "content/common/navigation_gesture.h" 14 #include "content/common/navigation_gesture.h"
15 #include "content/common/page_transition_types.h" 15 #include "content/common/page_transition_types.h"
16 #include "content/common/page_zoom.h" 16 #include "content/common/page_zoom.h"
17 #include "content/common/renderer_preferences.h" 17 #include "content/common/renderer_preferences.h"
18 #include "content/common/view_message_enums.h" 18 #include "content/common/view_message_enums.h"
19 #include "content/common/webkit_param_traits.h" 19 #include "content/common/webkit_param_traits.h"
20 #include "content/common/window_container_type.h" 20 #include "content/common/window_container_type.h"
21 #include "ipc/ipc_channel_handle.h" 21 #include "ipc/ipc_channel_handle.h"
22 #include "ipc/ipc_message_macros.h" 22 #include "ipc/ipc_message_macros.h"
23 #include "ipc/ipc_platform_file.h" 23 #include "ipc/ipc_platform_file.h"
24 #include "media/base/media_log_event.h" 24 #include "media/base/media_log_event.h"
25 #include "net/base/host_port_pair.h" 25 #include "net/base/host_port_pair.h"
26 #include "third_party/skia/include/core/SkBitmap.h" 26 #include "third_party/skia/include/core/SkBitmap.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
32 #include "ui/base/ime/text_input_type.h" 33 #include "ui/base/ime/text_input_type.h"
33 #include "ui/base/range/range.h" 34 #include "ui/base/range/range.h"
34 #include "ui/gfx/rect.h" 35 #include "ui/gfx/rect.h"
35 #include "webkit/glue/context_menu.h" 36 #include "webkit/glue/context_menu.h"
36 #include "webkit/glue/password_form.h" 37 #include "webkit/glue/password_form.h"
37 #include "webkit/glue/webcookie.h" 38 #include "webkit/glue/webcookie.h"
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 // generates a ViewMsg_UpdateRect_ACK message. 1406 // generates a ViewMsg_UpdateRect_ACK message.
1406 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1407 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1407 ViewHostMsg_UpdateRect_Params) 1408 ViewHostMsg_UpdateRect_Params)
1408 1409
1409 // Sent by the renderer when accelerated compositing is enabled or disabled to 1410 // Sent by the renderer when accelerated compositing is enabled or disabled to
1410 // notify the browser whether or not is should do painting. 1411 // notify the browser whether or not is should do painting.
1411 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, 1412 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing,
1412 bool /* true if the accelerated compositor is actve */) 1413 bool /* true if the accelerated compositor is actve */)
1413 1414
1414 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. 1415 // Acknowledges receipt of a ViewMsg_HandleInputEvent message.
1415 // Payload is a WebInputEvent::Type which is the type of the event, followed 1416 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK,
1416 // by an optional WebInputEvent which is provided only if the event was not 1417 WebKit::WebInputEvent::Type,
1417 // processed. 1418 bool /* processed */)
1418 IPC_MESSAGE_ROUTED0(ViewHostMsg_HandleInputEvent_ACK)
1419 1419
1420 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1420 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1421 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1421 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1422 1422
1423 // Message sent from renderer to the browser when focus changes inside the 1423 // Message sent from renderer to the browser when focus changes inside the
1424 // webpage. The parameter says whether the newly focused element needs 1424 // webpage. The parameter says whether the newly focused element needs
1425 // keyboard input (true for textfields, text areas and content editable divs). 1425 // keyboard input (true for textfields, text areas and content editable divs).
1426 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1426 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1427 bool /* is_editable_node */) 1427 bool /* is_editable_node */)
1428 1428
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 1952
1953 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1953 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1954 // being sent back. 1954 // being sent back.
1955 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1955 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1956 1956
1957 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1957 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1958 // whenever the mouse is unlocked (which may or may not be caused by 1958 // whenever the mouse is unlocked (which may or may not be caused by
1959 // ViewHostMsg_UnlockMouse). 1959 // ViewHostMsg_UnlockMouse).
1960 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1960 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1961 1961
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698