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

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: code cleanup Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 FilePath /* plugin_path */) 1824 FilePath /* plugin_path */)
1825 1825
1826 // Notifies when a plugin couldn't be loaded because it's outdated. 1826 // Notifies when a plugin couldn't be loaded because it's outdated.
1827 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, 1827 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin,
1828 string16, /* name */ 1828 string16, /* name */
1829 GURL /* update_url */) 1829 GURL /* update_url */)
1830 1830
1831 // Displays a JavaScript out-of-memory message in the infobar. 1831 // Displays a JavaScript out-of-memory message in the infobar.
1832 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) 1832 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory)
1833 1833
1834 // Notifies when render process exausted all JavaSript heap memory.
1835 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_RenderProcessOutOfJSMemory)
1836
1834 // Displays a box to confirm that the user wants to navigate away from the 1837 // Displays a box to confirm that the user wants to navigate away from the
1835 // page. Replies true if yes, false otherwise, the reply string is ignored, 1838 // page. Replies true if yes, false otherwise, the reply string is ignored,
1836 // but is included so that we can use OnJavaScriptMessageBoxClosed. 1839 // but is included so that we can use OnJavaScriptMessageBoxClosed.
1837 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm, 1840 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_RunBeforeUnloadConfirm,
1838 GURL, /* in - originating frame URL */ 1841 GURL, /* in - originating frame URL */
1839 std::wstring /* in - alert message */, 1842 std::wstring /* in - alert message */,
1840 bool /* out - success */, 1843 bool /* out - success */,
1841 std::wstring /* out - This is ignored.*/) 1844 std::wstring /* out - This is ignored.*/)
1842 1845
1843 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 1846 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 2625 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
2623 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or 2626 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or
2624 // String. 2627 // String.
2625 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 2628 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
2626 int /* id */, 2629 int /* id */,
2627 ListValue /* result */) 2630 ListValue /* result */)
2628 2631
2629 // Updates the content restrictions, i.e. to disable print/copy. 2632 // Updates the content restrictions, i.e. to disable print/copy.
2630 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, 2633 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
2631 int /* restrictions */) 2634 int /* restrictions */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698