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

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

Issue 464593003: Don't swap out the old RenderFrameHost until the new one commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Major rebase Created 6 years, 4 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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) 611 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden)
612 612
613 // Tells the render view that it is no longer hidden (see WasHidden), and the 613 // Tells the render view that it is no longer hidden (see WasHidden), and the
614 // render view is expected to respond with a full repaint if needs_repainting 614 // render view is expected to respond with a full repaint if needs_repainting
615 // is true. If needs_repainting is false, then this message does not trigger a 615 // is true. If needs_repainting is false, then this message does not trigger a
616 // message in response. 616 // message in response.
617 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown, 617 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown,
618 bool /* needs_repainting */, 618 bool /* needs_repainting */,
619 ui::LatencyInfo /* latency_info */) 619 ui::LatencyInfo /* latency_info */)
620 620
621 // Sent to inform the view that it was swapped out. This allows the process to
622 // exit if no other views are using it.
623 IPC_MESSAGE_ROUTED0(ViewMsg_WasSwappedOut)
624
625 // Tells the renderer to focus the first (last if reverse is true) focusable 621 // Tells the renderer to focus the first (last if reverse is true) focusable
626 // node. 622 // node.
627 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, 623 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus,
628 bool /* reverse */) 624 bool /* reverse */)
629 625
630 // Sent to inform the renderer to invoke a context menu. 626 // Sent to inform the renderer to invoke a context menu.
631 // The parameter specifies the location in the render view's coordinates. 627 // The parameter specifies the location in the render view's coordinates.
632 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu, 628 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu,
633 ui::MenuSourceType, 629 ui::MenuSourceType,
634 gfx::Point /* location where menu should be shown */) 630 gfx::Point /* location where menu should be shown */)
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 // Since the browser keeps handles to the allocated transport DIBs, this 1690 // Since the browser keeps handles to the allocated transport DIBs, this
1695 // message is sent to tell the browser that it may release them when the 1691 // message is sent to tell the browser that it may release them when the
1696 // renderer is finished with them. 1692 // renderer is finished with them.
1697 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1693 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1698 TransportDIB::Id /* DIB id */) 1694 TransportDIB::Id /* DIB id */)
1699 #endif 1695 #endif
1700 1696
1701 // Adding a new message? Stick to the sort order above: first platform 1697 // Adding a new message? Stick to the sort order above: first platform
1702 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1698 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1703 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1699 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698