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

Side by Side Diff: android_webview/common/render_view_messages.h

Issue 11823027: [Android WebView] Implement the capture picture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding findbugs update from 11825002 to make the trybots happy. Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include "android_webview/common/aw_hit_test_data.h" 6 #include "android_webview/common/aw_hit_test_data.h"
7 #include "content/public/common/common_param_traits.h" 7 #include "content/public/common/common_param_traits.h"
8 #include "ipc/ipc_channel_handle.h" 8 #include "ipc/ipc_channel_handle.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // physical pixel values with the 0,0 at the top left of the current displayed 48 // physical pixel values with the 0,0 at the top left of the current displayed
49 // view (ie 0,0 is not the top left of the page if the page is scrolled). 49 // view (ie 0,0 is not the top left of the page if the page is scrolled).
50 IPC_MESSAGE_ROUTED2(AwViewMsg_DoHitTest, 50 IPC_MESSAGE_ROUTED2(AwViewMsg_DoHitTest,
51 int /* view_x */, 51 int /* view_x */,
52 int /* view_y */) 52 int /* view_y */)
53 53
54 // Enables receiving pictures from the renderer on every new frame. 54 // Enables receiving pictures from the renderer on every new frame.
55 IPC_MESSAGE_ROUTED1(AwViewMsg_EnableCapturePictureCallback, 55 IPC_MESSAGE_ROUTED1(AwViewMsg_EnableCapturePictureCallback,
56 bool /* enable */) 56 bool /* enable */)
57 57
58 IPC_SYNC_MESSAGE_ROUTED0_0(AwViewMsg_CapturePictureSync)
Leandro Graciá Gil 2013/01/09 16:30:13 I'll add a description here in the next iteration
Leandro Graciá Gil 2013/01/10 18:58:13 Done.
59
58 //----------------------------------------------------------------------------- 60 //-----------------------------------------------------------------------------
59 // RenderView messages 61 // RenderView messages
60 // These are messages sent from the renderer to the browser process. 62 // These are messages sent from the renderer to the browser process.
61 63
62 // Response to AwViewMsg_DocumentHasImages request. 64 // Response to AwViewMsg_DocumentHasImages request.
63 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, 65 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
64 int, /* id */ 66 int, /* id */
65 bool /* has_images */) 67 bool /* has_images */)
66 68
67 // Response to AwViewMsg_DoHitTest. 69 // Response to AwViewMsg_DoHitTest.
68 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 70 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
69 android_webview::AwHitTestData) 71 android_webview::AwHitTestData)
70 72
71 // Notification that a new picture becomes available. It is only sent if 73 // Notification that a new picture becomes available. It is only sent if
72 // AwViewMsg_EnableCapturePictureCallback was previously enabled. 74 // AwViewMsg_EnableCapturePictureCallback was previously enabled.
73 IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated) 75 IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698