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

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

Issue 65273002: Add a mechanism to pause and resume geolocation requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wire up onPause/onResume Created 7 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize, 72 IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize,
73 gfx::Size /* size */) 73 gfx::Size /* size */)
74 74
75 // Sets the base background color for this view. 75 // Sets the base background color for this view.
76 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, 76 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor,
77 SkColor) 77 SkColor)
78 78
79 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, 79 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty,
80 bool /* network_up */) 80 bool /* network_up */)
81 81
82 IPC_MESSAGE_ROUTED1(AwViewMsg_PauseOrResumeGeolocation,
83 bool /* should_pause */)
82 //----------------------------------------------------------------------------- 84 //-----------------------------------------------------------------------------
83 // RenderView messages 85 // RenderView messages
84 // These are messages sent from the renderer to the browser process. 86 // These are messages sent from the renderer to the browser process.
85 87
86 // Response to AwViewMsg_DocumentHasImages request. 88 // Response to AwViewMsg_DocumentHasImages request.
87 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, 89 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
88 int, /* id */ 90 int, /* id */
89 bool /* has_images */) 91 bool /* has_images */)
90 92
91 // Response to AwViewMsg_DoHitTest. 93 // Response to AwViewMsg_DoHitTest.
92 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
93 android_webview::AwHitTestData) 95 android_webview::AwHitTestData)
94 96
95 // Sent whenever the page scale factor (as seen by RenderView) is changed. 97 // Sent whenever the page scale factor (as seen by RenderView) is changed.
96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
97 float /* page_scale_factor */) 99 float /* page_scale_factor */)
98 100
99 // Sent whenever the contents size (as seen by RenderView) is changed. 101 // Sent whenever the contents size (as seen by RenderView) is changed.
100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, 102 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged,
101 gfx::Size /* contents_size */) 103 gfx::Size /* contents_size */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698