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

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 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 // generates a ViewMsg_UpdateRect_ACK message. 1388 // generates a ViewMsg_UpdateRect_ACK message.
1388 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1389 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1389 ViewHostMsg_UpdateRect_Params) 1390 ViewHostMsg_UpdateRect_Params)
1390 1391
1391 // Sent by the renderer when accelerated compositing is enabled or disabled to 1392 // Sent by the renderer when accelerated compositing is enabled or disabled to
1392 // notify the browser whether or not is should do painting. 1393 // notify the browser whether or not is should do painting.
1393 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, 1394 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing,
1394 bool /* true if the accelerated compositor is actve */) 1395 bool /* true if the accelerated compositor is actve */)
1395 1396
1396 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. 1397 // Acknowledges receipt of a ViewMsg_HandleInputEvent message.
1397 // Payload is a WebInputEvent::Type which is the type of the event, followed 1398 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK,
1398 // by an optional WebInputEvent which is provided only if the event was not 1399 WebKit::WebInputEvent::Type,
1399 // processed. 1400 bool /* processed */)
1400 IPC_MESSAGE_ROUTED0(ViewHostMsg_HandleInputEvent_ACK)
1401 1401
1402 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1402 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1403 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1403 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1404 1404
1405 // Message sent from renderer to the browser when focus changes inside the 1405 // Message sent from renderer to the browser when focus changes inside the
1406 // webpage. The parameter says whether the newly focused element needs 1406 // webpage. The parameter says whether the newly focused element needs
1407 // keyboard input (true for textfields, text areas and content editable divs). 1407 // keyboard input (true for textfields, text areas and content editable divs).
1408 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1408 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1409 bool /* is_editable_node */) 1409 bool /* is_editable_node */)
1410 1410
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 1933
1934 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1934 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1935 // being sent back. 1935 // being sent back.
1936 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1936 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1937 1937
1938 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1938 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1939 // whenever the mouse is unlocked (which may or may not be caused by 1939 // whenever the mouse is unlocked (which may or may not be caused by
1940 // ViewHostMsg_UnlockMouse). 1940 // ViewHostMsg_UnlockMouse).
1941 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1941 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
1942 1942
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698