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

Side by Side Diff: content/common/view_messages.h

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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) 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 "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 // to run in a modal fashion until it is closed. 1401 // to run in a modal fashion until it is closed.
1402 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal, 1402 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_RunModal,
1403 int /* opener_id */) 1403 int /* opener_id */)
1404 1404
1405 // Indicates the renderer is ready in response to a ViewMsg_New or 1405 // Indicates the renderer is ready in response to a ViewMsg_New or
1406 // a ViewMsg_CreatingNew_ACK. 1406 // a ViewMsg_CreatingNew_ACK.
1407 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) 1407 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady)
1408 1408
1409 // Indicates the renderer process is gone. This actually is sent by the 1409 // Indicates the renderer process is gone. This actually is sent by the
1410 // browser process to itself, but keeps the interface cleaner. 1410 // browser process to itself, but keeps the interface cleaner.
1411 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone, 1411 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderProcessGone,
1412 int, /* this really is base::TerminationStatus */ 1412 int, /* this really is base::TerminationStatus */
1413 int /* exit_code */) 1413 int /* exit_code */)
1414 1414
1415 // Sent by the renderer process to request that the browser close the view. 1415 // Sent by the renderer process to request that the browser close the view.
1416 // This corresponds to the window.close() API, and the browser may ignore 1416 // This corresponds to the window.close() API, and the browser may ignore
1417 // this message. Otherwise, the browser will generates a ViewMsg_Close 1417 // this message. Otherwise, the browser will generates a ViewMsg_Close
1418 // message to close the view. 1418 // message to close the view.
1419 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) 1419 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close)
1420 1420
1421 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1421 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
2325 // Since the browser keeps handles to the allocated transport DIBs, this 2325 // Since the browser keeps handles to the allocated transport DIBs, this
2326 // message is sent to tell the browser that it may release them when the 2326 // message is sent to tell the browser that it may release them when the
2327 // renderer is finished with them. 2327 // renderer is finished with them.
2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2329 TransportDIB::Id /* DIB id */) 2329 TransportDIB::Id /* DIB id */)
2330 #endif 2330 #endif
2331 2331
2332 // Adding a new message? Stick to the sort order above: first platform 2332 // Adding a new message? Stick to the sort order above: first platform
2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698