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

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

Issue 20777009: A few more cleanups to the pepper code. Dispatch IPCs in the sockets implementations directly by ha… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browsertest 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_renderer.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 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1898 // if necessary, and will return a handle to the channel on success. 1898 // if necessary, and will return a handle to the channel on success.
1899 // On error an empty string is returned. 1899 // On error an empty string is returned.
1900 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. 1900 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated.
1901 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, 1901 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker,
1902 int /* routing_id */, 1902 int /* routing_id */,
1903 int /* request_id */, 1903 int /* request_id */,
1904 base::FilePath /* path */) 1904 base::FilePath /* path */)
1905 1905
1906 // Opens a Pepper file asynchronously. The response returns a file descriptor 1906 // Opens a Pepper file asynchronously. The response returns a file descriptor
1907 // and an error code from base/platform_file.h. 1907 // and an error code from base/platform_file.h.
1908 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenPepperFile, 1908 IPC_MESSAGE_CONTROL4(ViewHostMsg_AsyncOpenPepperFile,
1909 base::FilePath /* file path */, 1909 int /* routing_id */,
1910 int /* pp_open_flags */, 1910 base::FilePath /* file path */,
1911 int /* message_id */) 1911 int /* pp_open_flags */,
1912 int /* message_id */)
1912 1913
1913 // A renderer sends this to the browser process when it wants to access a PPAPI 1914 // A renderer sends this to the browser process when it wants to access a PPAPI
1914 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called 1915 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called
1915 // for every connection. 1916 // for every connection.
1916 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. 1917 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
1917 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, 1918 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
1918 int /* request_id */, 1919 int /* request_id */,
1919 GURL /* document_url */, 1920 GURL /* document_url */,
1920 base::FilePath /* plugin_path */) 1921 base::FilePath /* plugin_path */)
1921 1922
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
2356 // synchronously (see crbug.com/120597). This IPC message sends the character 2357 // synchronously (see crbug.com/120597). This IPC message sends the character
2357 // bounds after every composition change to always have correct bound info. 2358 // bounds after every composition change to always have correct bound info.
2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2359 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2359 ui::Range /* composition range */, 2360 ui::Range /* composition range */,
2360 std::vector<gfx::Rect> /* character bounds */) 2361 std::vector<gfx::Rect> /* character bounds */)
2361 #endif 2362 #endif
2362 2363
2363 // Adding a new message? Stick to the sort order above: first platform 2364 // Adding a new message? Stick to the sort order above: first platform
2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2365 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2366 // 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_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698