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 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1925 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, | 1925 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, |
1926 bool /* has_handlers */) | 1926 bool /* has_handlers */) |
1927 | 1927 |
1928 // A message from HTML-based UI. When (trusted) Javascript calls | 1928 // A message from HTML-based UI. When (trusted) Javascript calls |
1929 // send(message, args), this message is sent to the browser. | 1929 // send(message, args), this message is sent to the browser. |
1930 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1930 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1931 GURL /* source_url */, | 1931 GURL /* source_url */, |
1932 std::string /* message */, | 1932 std::string /* message */, |
1933 base::ListValue /* args */) | 1933 base::ListValue /* args */) |
1934 | 1934 |
1935 // Requests a snapshot of the given window | |
Ken Russell (switch to Gerrit)
2012/11/08 22:27:44
Add "." here and below.
| |
1936 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetWindowSnapshot, | |
1937 int /* message id */) | |
jam
2012/11/09 02:21:29
nit: here and below, just one space before start o
| |
1938 | |
1939 // Notifies the render view that a snapshot has been retrieved | |
1940 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | |
1941 int /* message id */, | |
1942 gfx::Size /* image dimensions */, | |
jam
2012/11/09 02:21:29
nit: here and in the rest of the lines you added,
| |
1943 std::vector<unsigned char> /* png data */) | |
1944 | |
1935 // A renderer sends this to the browser process when it wants to create a ppapi | 1945 // A renderer sends this to the browser process when it wants to create a ppapi |
1936 // plugin. The browser will create the plugin process if necessary, and will | 1946 // plugin. The browser will create the plugin process if necessary, and will |
1937 // return a handle to the channel on success. | 1947 // return a handle to the channel on success. |
1938 // | 1948 // |
1939 // The plugin_child_id is the ChildProcessHost ID assigned in the browser | 1949 // The plugin_child_id is the ChildProcessHost ID assigned in the browser |
1940 // process. This ID is valid only in the context of the browser process and is | 1950 // process. This ID is valid only in the context of the browser process and is |
1941 // used to identify the proper process when the renderer notifies it that the | 1951 // used to identify the proper process when the renderer notifies it that the |
1942 // plugin is hung. | 1952 // plugin is hung. |
1943 // | 1953 // |
1944 // On error an empty string and null handles are returned. | 1954 // On error an empty string and null handles are returned. |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2405 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2415 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
2406 GURL /* content_url */) | 2416 GURL /* content_url */) |
2407 #endif | 2417 #endif |
2408 | 2418 |
2409 // Notifies that multiple touch targets may have been pressed, and to show | 2419 // Notifies that multiple touch targets may have been pressed, and to show |
2410 // the disambiguation popup. | 2420 // the disambiguation popup. |
2411 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 2421 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
2412 gfx::Rect, /* Border of touched targets */ | 2422 gfx::Rect, /* Border of touched targets */ |
2413 gfx::Size, /* Size of zoomed image */ | 2423 gfx::Size, /* Size of zoomed image */ |
2414 TransportDIB::Id /* DIB of zoomed image */) | 2424 TransportDIB::Id /* DIB of zoomed image */) |
OLD | NEW |