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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6006006: Show OOM notification bar in all tabs sharing same render process (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Send reply to the sync message on the IO thread Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
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 1773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 FilePath /* plugin_path */) 1784 FilePath /* plugin_path */)
1785 1785
1786 // Notifies when a plugin couldn't be loaded because it's outdated. 1786 // Notifies when a plugin couldn't be loaded because it's outdated.
1787 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, 1787 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin,
1788 string16, /* name */ 1788 string16, /* name */
1789 GURL /* update_url */) 1789 GURL /* update_url */)
1790 1790
1791 // Displays a JavaScript out-of-memory message in the infobar. 1791 // Displays a JavaScript out-of-memory message in the infobar.
1792 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) 1792 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory)
1793 1793
1794 // Notifies when render process exausted all JavaSript heap memory.
1795 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_RenderProcessOutOfJSMemory)
1796
1794 // Displays a box to confirm that the user wants to navigate away from the 1797 // Displays a box to confirm that the user wants to navigate away from the
1795 // page. Replies true if yes, false otherwise, the reply string is ignored, 1798 // page. Replies true if yes, false otherwise, the reply string is ignored,
1796 // but is included so that we can use OnJavaScriptMessageBoxClosed. 1799 // but is included so that we can use OnJavaScriptMessageBoxClosed.
1797 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm, 1800 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm,
1798 GURL, /* in - originating frame URL */ 1801 GURL, /* in - originating frame URL */
1799 std::wstring /* in - alert message */, 1802 std::wstring /* in - alert message */,
1800 bool /* out - success */, 1803 bool /* out - success */,
1801 std::wstring /* out - This is ignored.*/) 1804 std::wstring /* out - This is ignored.*/)
1802 1805
1803 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 1806 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 // The currently displayed PDF has an unsupported feature. 2516 // The currently displayed PDF has an unsupported feature.
2514 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2517 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2515 2518
2516 // JavaScript related messages ----------------------------------------------- 2519 // JavaScript related messages -----------------------------------------------
2517 2520
2518 // Notify the JavaScript engine in the render to change its parameters 2521 // Notify the JavaScript engine in the render to change its parameters
2519 // while performing stress testing. 2522 // while performing stress testing.
2520 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2523 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2521 int /* cmd */, 2524 int /* cmd */,
2522 int /* param */) 2525 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698