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

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

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after
1901 // process. This ID is valid only in the context of the browser process and is 1901 // process. This ID is valid only in the context of the browser process and is
1902 // used to identify the proper process when the renderer notifies it that the 1902 // used to identify the proper process when the renderer notifies it that the
1903 // plugin is hung. 1903 // plugin is hung.
1904 // 1904 //
1905 // On error an empty string and null handles are returned. 1905 // On error an empty string and null handles are returned.
1906 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, 1906 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin,
1907 FilePath /* path */, 1907 FilePath /* path */,
1908 IPC::ChannelHandle /* handle to channel */, 1908 IPC::ChannelHandle /* handle to channel */,
1909 int /* plugin_child_id */) 1909 int /* plugin_child_id */)
1910 1910
1911 // Notification that a native (non-NaCl) plugin has created a new plugin
1912 // instance. The parameters indicate the plugin process ID that we're creating
1913 // the instance for, and the routing ID of the render view that the plugin
1914 // instance is associated with. This allows us to create a mapping in the
1915 // browser process for what objects a given PP_Instance is associated with.
1916 //
1917 // This message must be sync even though it returns no parameters to avoid
1918 // a race condition with the plugin process. The plugin process sends messages
1919 // to the browser that assume the browser knows about the instance. We need to
1920 // sure that the browser actually knows about the instance before we tell the
1921 // plugin to run.
1922 IPC_SYNC_MESSAGE_CONTROL3_0(ViewHostMsg_DidCreateOutOfProcessPepperInstance,
1923 int /* plugin_child_id */,
1924 int32 /* pp_instance */,
1925 int /* view_routing_id */)
1926
1927 // Notification that a native (non-NaCl) plugin has destroyed an instance. This
1928 // is the opposite if the "DidCreate" version above.
1929 IPC_MESSAGE_CONTROL2(ViewHostMsg_DidDeleteOutOfProcessPepperInstance,
1930 int /* plugin_child_id */,
1931 int32 /* pp_instance */)
1932
1911 // A renderer sends this to the browser process when it wants to 1933 // A renderer sends this to the browser process when it wants to
1912 // create a ppapi broker. The browser will create the broker process 1934 // create a ppapi broker. The browser will create the broker process
1913 // if necessary, and will return a handle to the channel on success. 1935 // if necessary, and will return a handle to the channel on success.
1914 // On error an empty string is returned. 1936 // On error an empty string is returned.
1915 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. 1937 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated.
1916 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, 1938 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker,
1917 int /* routing_id */, 1939 int /* routing_id */,
1918 int /* request_id */, 1940 int /* request_id */,
1919 FilePath /* path */) 1941 FilePath /* path */)
1920 1942
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 // custom normalized fractions of the document size. The rects will be sorted by 2362 // custom normalized fractions of the document size. The rects will be sorted by
2341 // frame traversal order starting in the main frame, then by dom order. 2363 // frame traversal order starting in the main frame, then by dom order.
2342 // 2364 //
2343 // |active_rect| will contain the bounding box of the active find-in-page match 2365 // |active_rect| will contain the bounding box of the active find-in-page match
2344 // marker, in similarly normalized coords (or an empty rect if there isn't one). 2366 // marker, in similarly normalized coords (or an empty rect if there isn't one).
2345 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, 2367 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
2346 int /* version */, 2368 int /* version */,
2347 std::vector<gfx::RectF> /* rects */, 2369 std::vector<gfx::RectF> /* rects */,
2348 gfx::RectF /* active_rect */) 2370 gfx::RectF /* active_rect */)
2349 #endif 2371 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698