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

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, 4 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
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 1191
1192 // Activate/deactivate the RenderView (i.e., set its controls' tint 1192 // Activate/deactivate the RenderView (i.e., set its controls' tint
1193 // accordingly, etc.). 1193 // accordingly, etc.).
1194 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, 1194 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive,
1195 bool /* active */) 1195 bool /* active */)
1196 1196
1197 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 1197 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
1198 // Sent when the worker has started. 1198 // Sent when the worker has started.
1199 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 1199 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
1200 1200
1201 // The response to ViewHostMsg_AsyncOpenFile. 1201 // The response to ViewHostMsg_AsyncOpenPepperFile.
1202 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK, 1202 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenPepperFile_ACK,
1203 base::PlatformFileError /* error_code */, 1203 base::PlatformFileError /* error_code */,
1204 IPC::PlatformFileForTransit /* file descriptor */, 1204 IPC::PlatformFileForTransit /* file descriptor */,
1205 int /* message_id */) 1205 int /* message_id */)
1206 1206
1207 // Tells the renderer that the network state has changed and that 1207 // Tells the renderer that the network state has changed and that
1208 // window.navigator.onLine should be updated for all WebViews. 1208 // window.navigator.onLine should be updated for all WebViews.
1209 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, 1209 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged,
1210 bool /* online */) 1210 bool /* online */)
1211 1211
1212 // Reply to ViewHostMsg_OpenChannelToPpapiBroker 1212 // Reply to ViewHostMsg_OpenChannelToPpapiBroker
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1885 // A renderer sends this to the browser process when it wants to 1885 // A renderer sends this to the browser process when it wants to
1886 // create a ppapi broker. The browser will create the broker process 1886 // create a ppapi broker. The browser will create the broker process
1887 // if necessary, and will return a handle to the channel on success. 1887 // if necessary, and will return a handle to the channel on success.
1888 // On error an empty string is returned. 1888 // On error an empty string is returned.
1889 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. 1889 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated.
1890 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, 1890 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker,
1891 int /* routing_id */, 1891 int /* routing_id */,
1892 int /* request_id */, 1892 int /* request_id */,
1893 base::FilePath /* path */) 1893 base::FilePath /* path */)
1894 1894
1895 // Opens a Pepper file asynchronously. The response returns a file descriptor
1896 // and an error code from base/platform_file.h.
1897 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenPepperFile,
1898 base::FilePath /* file path */,
1899 int /* pp_open_flags */,
1900 int /* message_id */)
1901
1895 // A renderer sends this to the browser process when it wants to access a PPAPI 1902 // A renderer sends this to the browser process when it wants to access a PPAPI
1896 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called 1903 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called
1897 // for every connection. 1904 // for every connection.
1898 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. 1905 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
1899 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, 1906 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
1900 int /* request_id */, 1907 int /* request_id */,
1901 GURL /* document_url */, 1908 GURL /* document_url */,
1902 base::FilePath /* plugin_path */) 1909 base::FilePath /* plugin_path */)
1903 1910
1904 #if defined(USE_X11) 1911 #if defined(USE_X11)
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2065 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, 2072 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
2066 uint32 /* output_surface_id */, 2073 uint32 /* output_surface_id */,
2067 cc::CompositorFrame /* frame */) 2074 cc::CompositorFrame /* frame */)
2068 2075
2069 // Sent by the compositor when input scroll events are dropped due to bounds 2076 // Sent by the compositor when input scroll events are dropped due to bounds
2070 // restricions on the root scroll offset. 2077 // restricions on the root scroll offset.
2071 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, 2078 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll,
2072 gfx::Vector2dF /* accumulated_overscroll */, 2079 gfx::Vector2dF /* accumulated_overscroll */,
2073 gfx::Vector2dF /* current_fling_velocity */) 2080 gfx::Vector2dF /* current_fling_velocity */)
2074 2081
2075 // Opens a file asynchronously. The response returns a file descriptor
2076 // and an error code from base/platform_file.h.
2077 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
2078 base::FilePath /* file path */,
2079 int /* flags */,
2080 int /* message_id */)
2081
2082 // Reply to a snapshot request containing whether snapshotting succeeded and the 2082 // Reply to a snapshot request containing whether snapshotting succeeded and the
2083 // SkBitmap if it succeeded. 2083 // SkBitmap if it succeeded.
2084 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, 2084 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
2085 bool, /* success */ 2085 bool, /* success */
2086 SkBitmap /* bitmap */) 2086 SkBitmap /* bitmap */)
2087 2087
2088 //--------------------------------------------------------------------------- 2088 //---------------------------------------------------------------------------
2089 // Request for cryptographic operation messages: 2089 // Request for cryptographic operation messages:
2090 // These are messages from the renderer to the browser to perform a 2090 // These are messages from the renderer to the browser to perform a
2091 // cryptographic operation. 2091 // cryptographic operation.
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
2345 // synchronously (see crbug.com/120597). This IPC message sends the character 2345 // synchronously (see crbug.com/120597). This IPC message sends the character
2346 // bounds after every composition change to always have correct bound info. 2346 // bounds after every composition change to always have correct bound info.
2347 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2347 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2348 ui::Range /* composition range */, 2348 ui::Range /* composition range */,
2349 std::vector<gfx::Rect> /* character bounds */) 2349 std::vector<gfx::Rect> /* character bounds */)
2350 #endif 2350 #endif
2351 2351
2352 // Adding a new message? Stick to the sort order above: first platform 2352 // Adding a new message? Stick to the sort order above: first platform
2353 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2353 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2354 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2354 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698