Chromium Code Reviews| 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 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1841 FilePath /* plugin_path */) | 1841 FilePath /* plugin_path */) |
| 1842 | 1842 |
| 1843 // Notifies when a plugin couldn't be loaded because it's outdated. | 1843 // Notifies when a plugin couldn't be loaded because it's outdated. |
| 1844 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, | 1844 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, |
| 1845 string16, /* name */ | 1845 string16, /* name */ |
| 1846 GURL /* update_url */) | 1846 GURL /* update_url */) |
| 1847 | 1847 |
| 1848 // Displays a JavaScript out-of-memory message in the infobar. | 1848 // Displays a JavaScript out-of-memory message in the infobar. |
| 1849 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 1849 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
| 1850 | 1850 |
| 1851 // Notifies when render process exausted all JavaSript heap memory. | |
| 1852 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_RenderProcessOutOfJSMemory) | |
|
darin (slow to review)
2011/01/19 16:53:51
Sync messages sent from renderer to browser should
| |
| 1853 | |
| 1851 // Displays a box to confirm that the user wants to navigate away from the | 1854 // Displays a box to confirm that the user wants to navigate away from the |
| 1852 // page. Replies true if yes, false otherwise, the reply string is ignored, | 1855 // page. Replies true if yes, false otherwise, the reply string is ignored, |
| 1853 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 1856 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
| 1854 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm, | 1857 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm, |
| 1855 GURL, /* in - originating frame URL */ | 1858 GURL, /* in - originating frame URL */ |
| 1856 std::wstring /* in - alert message */, | 1859 std::wstring /* in - alert message */, |
| 1857 bool /* out - success */, | 1860 bool /* out - success */, |
| 1858 std::wstring /* out - This is ignored.*/) | 1861 std::wstring /* out - This is ignored.*/) |
| 1859 | 1862 |
| 1860 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1863 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2630 int /* request_id */, | 2633 int /* request_id */, |
| 2631 PP_Flash_NetAddress /* addr */) | 2634 PP_Flash_NetAddress /* addr */) |
| 2632 | 2635 |
| 2633 // JavaScript related messages ----------------------------------------------- | 2636 // JavaScript related messages ----------------------------------------------- |
| 2634 | 2637 |
| 2635 // Notify the JavaScript engine in the render to change its parameters | 2638 // Notify the JavaScript engine in the render to change its parameters |
| 2636 // while performing stress testing. | 2639 // while performing stress testing. |
| 2637 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2640 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2638 int /* cmd */, | 2641 int /* cmd */, |
| 2639 int /* param */) | 2642 int /* param */) |
| OLD | NEW |