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

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

Issue 7649009: Merge of 97624 to 835 branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: Created 9 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
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 IPC_STRUCT_MEMBER(string16, frame_name) 725 IPC_STRUCT_MEMBER(string16, frame_name)
726 IPC_STRUCT_END() 726 IPC_STRUCT_END()
727 727
728 // Messages sent from the browser to the renderer. 728 // Messages sent from the browser to the renderer.
729 729
730 // Used typically when recovering from a crash. The new rendering process 730 // Used typically when recovering from a crash. The new rendering process
731 // sets its global "next page id" counter to the given value. 731 // sets its global "next page id" counter to the given value.
732 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 732 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
733 int32 /* next_page_id */) 733 int32 /* next_page_id */)
734 734
735 // Sets the history length of page_ids for a RenderView to 735 // Sent to the RenderView when a prerendered or instant page is committed
736 // |length| entries, and moves the current page_id to the last 736 // to an existing tab. The existing tab has a history of
737 // entry if it is valid. 737 // |merged_history_length| which precedes the current history of pages
738 // The main use for this is prerendered pages, but Instant pages also use this. 738 // in the render view. All page_ids >= |minimum_page_id| are appended to
739 // For example, assume that there are 3 entries in the history when a 739 // this new history in the same order.
740 // prerendered page is created. The new prerendered page will have a single 740 //
741 // entry history like [7]. When it is swapped in, we need to extend the history 741 // For example, suppose the history of page_ids in the instant RenderView
742 // so it has a total length of 4 (3 for the previous history, 1 for the 742 // is [4 7 8]. This instant RenderView is committed, and merged into
743 // prerendered page), so it looks like [-1 -1 -1 7]. 743 // an existing tab with 3 history items, with every page with page_id >= 7
744 IPC_MESSAGE_ROUTED1(ViewMsg_SetHistoryLengthAndClear, 744 // is preserved. The resulting page history is [-1 -1 -1 7 8].
745 int /* length */) 745 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune,
746 int, /* merge_history_length */
747 int32 /* minimum_page_id */)
746 748
747 // Sends System Colors corresponding to a set of CSS color keywords 749 // Sends System Colors corresponding to a set of CSS color keywords
748 // down the pipe. 750 // down the pipe.
749 // This message must be sent to the renderer immediately on launch 751 // This message must be sent to the renderer immediately on launch
750 // before creating any new views. 752 // before creating any new views.
751 // The message can also be sent during a renderer's lifetime if system colors 753 // The message can also be sent during a renderer's lifetime if system colors
752 // are updated. 754 // are updated.
753 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. 755 // TODO(jeremy): Possibly change IPC format once we have this all hooked up.
754 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, 756 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors,
755 std::vector<CSSColors::CSSColorMapping>) 757 std::vector<CSSColors::CSSColorMapping>)
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2024 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2023 GURL /* frame's url */, 2025 GURL /* frame's url */,
2024 std::string /* data buffer */, 2026 std::string /* data buffer */,
2025 int32 /* complete status */) 2027 int32 /* complete status */)
2026 2028
2027 // Request updated information about the client firewall traversal policy. 2029 // Request updated information about the client firewall traversal policy.
2028 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2030 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2029 // being sent back. 2031 // being sent back.
2030 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2032 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2031 2033
OLDNEW
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698