OLD | NEW |
---|---|
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 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1922 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, | 1922 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, |
1923 bool /* has_handlers */) | 1923 bool /* has_handlers */) |
1924 | 1924 |
1925 // A message from HTML-based UI. When (trusted) Javascript calls | 1925 // A message from HTML-based UI. When (trusted) Javascript calls |
1926 // send(message, args), this message is sent to the browser. | 1926 // send(message, args), this message is sent to the browser. |
1927 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1927 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1928 GURL /* source_url */, | 1928 GURL /* source_url */, |
1929 std::string /* message */, | 1929 std::string /* message */, |
1930 base::ListValue /* args */) | 1930 base::ListValue /* args */) |
1931 | 1931 |
1932 // Requests a snapshot of the given window. | |
1933 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetWindowSnapshot, | |
1934 int /* message id */) | |
1935 | |
1936 // Notifies the render view that a snapshot has been retrieved. | |
1937 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | |
jam
2012/11/15 01:05:59
nit: this should go with the rest of the browser->
| |
1938 int /* snapshot_id */, | |
1939 gfx::Size /* size */, | |
1940 std::vector<unsigned char> /* png */) | |
1941 | |
1932 // A renderer sends this to the browser process when it wants to create a ppapi | 1942 // A renderer sends this to the browser process when it wants to create a ppapi |
1933 // plugin. The browser will create the plugin process if necessary, and will | 1943 // plugin. The browser will create the plugin process if necessary, and will |
1934 // return a handle to the channel on success. | 1944 // return a handle to the channel on success. |
1935 // | 1945 // |
1936 // The plugin_child_id is the ChildProcessHost ID assigned in the browser | 1946 // The plugin_child_id is the ChildProcessHost ID assigned in the browser |
1937 // process. This ID is valid only in the context of the browser process and is | 1947 // process. This ID is valid only in the context of the browser process and is |
1938 // used to identify the proper process when the renderer notifies it that the | 1948 // used to identify the proper process when the renderer notifies it that the |
1939 // plugin is hung. | 1949 // plugin is hung. |
1940 // | 1950 // |
1941 // On error an empty string and null handles are returned. | 1951 // On error an empty string and null handles are returned. |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2397 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2407 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
2398 GURL /* content_url */) | 2408 GURL /* content_url */) |
2399 #endif | 2409 #endif |
2400 | 2410 |
2401 // Notifies that multiple touch targets may have been pressed, and to show | 2411 // Notifies that multiple touch targets may have been pressed, and to show |
2402 // the disambiguation popup. | 2412 // the disambiguation popup. |
2403 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 2413 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
2404 gfx::Rect, /* Border of touched targets */ | 2414 gfx::Rect, /* Border of touched targets */ |
2405 gfx::Size, /* Size of zoomed image */ | 2415 gfx::Size, /* Size of zoomed image */ |
2406 TransportDIB::Id /* DIB of zoomed image */) | 2416 TransportDIB::Id /* DIB of zoomed image */) |
OLD | NEW |