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

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

Issue 19723010: Pepper Message Filters: Port to use explicit permission grants in ChildProcessSecurityPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044-write-support-remove-child-process-security-policy-bitmask-usage
Patch Set: Created 7 years, 5 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
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 // 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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process.h" 9 #include "base/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 1211
1212 // Activate/deactivate the RenderView (i.e., set its controls' tint 1212 // Activate/deactivate the RenderView (i.e., set its controls' tint
1213 // accordingly, etc.). 1213 // accordingly, etc.).
1214 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, 1214 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive,
1215 bool /* active */) 1215 bool /* active */)
1216 1216
1217 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 1217 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
1218 // Sent when the worker has started. 1218 // Sent when the worker has started.
1219 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 1219 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
1220 1220
1221 // The response to ViewHostMsg_AsyncOpenFile. 1221 // The response to ViewHostMsg_AsyncOpenPepperFile.
1222 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK, 1222 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenPepperFile_ACK,
1223 base::PlatformFileError /* error_code */, 1223 base::PlatformFileError /* error_code */,
1224 IPC::PlatformFileForTransit /* file descriptor */, 1224 IPC::PlatformFileForTransit /* file descriptor */,
1225 int /* message_id */) 1225 int /* message_id */)
1226 1226
1227 // Tells the renderer that the network state has changed and that 1227 // Tells the renderer that the network state has changed and that
1228 // window.navigator.onLine should be updated for all WebViews. 1228 // window.navigator.onLine should be updated for all WebViews.
1229 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, 1229 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged,
1230 bool /* online */) 1230 bool /* online */)
1231 1231
1232 // Reply to ViewHostMsg_OpenChannelToPpapiBroker 1232 // Reply to ViewHostMsg_OpenChannelToPpapiBroker
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
2085 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, 2085 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
2086 uint32 /* output_surface_id */, 2086 uint32 /* output_surface_id */,
2087 cc::CompositorFrame /* frame */) 2087 cc::CompositorFrame /* frame */)
2088 2088
2089 // Sent by the compositor when input scroll events are dropped due to bounds 2089 // Sent by the compositor when input scroll events are dropped due to bounds
2090 // restricions on the root scroll offset. 2090 // restricions on the root scroll offset.
2091 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, 2091 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll,
2092 gfx::Vector2dF /* accumulated_overscroll */, 2092 gfx::Vector2dF /* accumulated_overscroll */,
2093 gfx::Vector2dF /* current_fling_velocity */) 2093 gfx::Vector2dF /* current_fling_velocity */)
2094 2094
2095 // Opens a file asynchronously. The response returns a file descriptor 2095 // Opens a Pepper file asynchronously. The response returns a file descriptor
2096 // and an error code from base/platform_file.h. 2096 // and an error code from base/platform_file.h.
2097 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, 2097 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenPepperFile,
2098 base::FilePath /* file path */, 2098 base::FilePath /* file path */,
2099 int /* flags */, 2099 int /* pp_open_flags */,
2100 int /* message_id */) 2100 int /* message_id */)
2101 2101
2102 // Reply to a snapshot request containing whether snapshotting succeeded and the 2102 // Reply to a snapshot request containing whether snapshotting succeeded and the
2103 // SkBitmap if it succeeded. 2103 // SkBitmap if it succeeded.
2104 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, 2104 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
2105 bool, /* success */ 2105 bool, /* success */
2106 SkBitmap /* bitmap */) 2106 SkBitmap /* bitmap */)
2107 2107
2108 //--------------------------------------------------------------------------- 2108 //---------------------------------------------------------------------------
2109 // Request for cryptographic operation messages: 2109 // Request for cryptographic operation messages:
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 // synchronously (see crbug.com/120597). This IPC message sends the character 2365 // synchronously (see crbug.com/120597). This IPC message sends the character
2366 // bounds after every composition change to always have correct bound info. 2366 // bounds after every composition change to always have correct bound info.
2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2368 ui::Range /* composition range */, 2368 ui::Range /* composition range */,
2369 std::vector<gfx::Rect> /* character bounds */) 2369 std::vector<gfx::Rect> /* character bounds */)
2370 #endif 2370 #endif
2371 2371
2372 // Adding a new message? Stick to the sort order above: first platform 2372 // Adding a new message? Stick to the sort order above: first platform
2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698