OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 std::string /* The target*/) | 646 std::string /* The target*/) |
647 | 647 |
648 // Sent to the renderer when a popup window should no longer count against | 648 // Sent to the renderer when a popup window should no longer count against |
649 // the current popup count (either because it's not a popup or because it was | 649 // the current popup count (either because it's not a popup or because it was |
650 // a generated by a user action or because a constrained popup got turned | 650 // a generated by a user action or because a constrained popup got turned |
651 // into a full window). | 651 // into a full window). |
652 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 652 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
653 | 653 |
654 // The browser sends this to a renderer process in response to a | 654 // The browser sends this to a renderer process in response to a |
655 // GpuHostMsg_EstablishGpuChannel message. | 655 // GpuHostMsg_EstablishGpuChannel message. |
656 IPC_MESSAGE_CONTROL2(ViewMsg_GpuChannelEstablished, | 656 IPC_MESSAGE_CONTROL3(ViewMsg_GpuChannelEstablished, |
657 IPC::ChannelHandle /* handle to channel */, | 657 IPC::ChannelHandle /* handle to channel */, |
| 658 base::ProcessHandle /* gpu_renderer_process */, |
658 GPUInfo /* stats about GPU process*/) | 659 GPUInfo /* stats about GPU process*/) |
659 | 660 |
660 // Notifies the renderer of the appcache that has been selected for a | 661 // Notifies the renderer of the appcache that has been selected for a |
661 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. | 662 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. |
662 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, | 663 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, |
663 int /* host_id */, | 664 int /* host_id */, |
664 appcache::AppCacheInfo) | 665 appcache::AppCacheInfo) |
665 | 666 |
666 // Notifies the renderer of an AppCache status change. | 667 // Notifies the renderer of an AppCache status change. |
667 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, | 668 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, |
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 #if defined(USE_X11) | 1908 #if defined(USE_X11) |
1908 // Asks the browser to create a temporary file for the renderer to fill | 1909 // Asks the browser to create a temporary file for the renderer to fill |
1909 // in resulting NativeMetafile in printing. | 1910 // in resulting NativeMetafile in printing. |
1910 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_AllocateTempFileForPrinting, | 1911 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_AllocateTempFileForPrinting, |
1911 base::FileDescriptor /* temp file fd */, | 1912 base::FileDescriptor /* temp file fd */, |
1912 int /* fd in browser*/) | 1913 int /* fd in browser*/) |
1913 IPC_MESSAGE_CONTROL1(ViewHostMsg_TempFileForPrintingWritten, | 1914 IPC_MESSAGE_CONTROL1(ViewHostMsg_TempFileForPrintingWritten, |
1914 int /* fd in browser */) | 1915 int /* fd in browser */) |
1915 #endif | 1916 #endif |
1916 | 1917 |
1917 #if defined(OS_POSIX) | |
1918 // Asks the browser to create a block of shared memory for the renderer to | 1918 // Asks the browser to create a block of shared memory for the renderer to |
1919 // fill in and pass back to the browser. | 1919 // fill in and pass back to the browser. |
1920 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer, | 1920 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer, |
1921 uint32 /* buffer size */, | 1921 uint32 /* buffer size */, |
1922 base::SharedMemoryHandle /* browser handle */) | 1922 base::SharedMemoryHandle /* browser handle */) |
1923 #endif | |
1924 | 1923 |
1925 // Provide the browser process with information about the WebCore resource | 1924 // Provide the browser process with information about the WebCore resource |
1926 // cache. | 1925 // cache. |
1927 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, | 1926 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, |
1928 WebKit::WebCache::ResourceTypeStats) | 1927 WebKit::WebCache::ResourceTypeStats) |
1929 | 1928 |
1930 // Notify the browser that this render process can or can't be suddenly | 1929 // Notify the browser that this render process can or can't be suddenly |
1931 // terminated. | 1930 // terminated. |
1932 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1931 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
1933 bool /* enabled */) | 1932 bool /* enabled */) |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2540 // The currently displayed PDF has an unsupported feature. | 2539 // The currently displayed PDF has an unsupported feature. |
2541 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2540 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
2542 | 2541 |
2543 // JavaScript related messages ----------------------------------------------- | 2542 // JavaScript related messages ----------------------------------------------- |
2544 | 2543 |
2545 // Notify the JavaScript engine in the render to change its parameters | 2544 // Notify the JavaScript engine in the render to change its parameters |
2546 // while performing stress testing. | 2545 // while performing stress testing. |
2547 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2546 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2548 int /* cmd */, | 2547 int /* cmd */, |
2549 int /* param */) | 2548 int /* param */) |
OLD | NEW |