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

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

Issue 7491096: Fix regression with back-button not working on prerendered and instant pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a swap 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/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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 IPC_STRUCT_MEMBER(string16, frame_name) 737 IPC_STRUCT_MEMBER(string16, frame_name)
738 IPC_STRUCT_END() 738 IPC_STRUCT_END()
739 739
740 // Messages sent from the browser to the renderer. 740 // Messages sent from the browser to the renderer.
741 741
742 // Used typically when recovering from a crash. The new rendering process 742 // Used typically when recovering from a crash. The new rendering process
743 // sets its global "next page id" counter to the given value. 743 // sets its global "next page id" counter to the given value.
744 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 744 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
745 int32 /* next_page_id */) 745 int32 /* next_page_id */)
746 746
747 // Shifts the history of page_id's for a page by |history_length| entries.
748 // The main use for this is prerendered pages, but Instant pages also use this.
749 // When a prerendered page is created, it has a history of only one page_id.
750 // When the prerendered page is swapped in, this page_id needs to be shifted
751 // over by the current history length.
752 IPC_MESSAGE_ROUTED1(ViewMsg_ShiftHistory,
brettw 2011/08/09 19:38:34 I still don't feel like this is shifting history.
753 int /* history_length */)
754
747 // Sends System Colors corresponding to a set of CSS color keywords 755 // Sends System Colors corresponding to a set of CSS color keywords
748 // down the pipe. 756 // down the pipe.
749 // This message must be sent to the renderer immediately on launch 757 // This message must be sent to the renderer immediately on launch
750 // before creating any new views. 758 // before creating any new views.
751 // The message can also be sent during a renderer's lifetime if system colors 759 // The message can also be sent during a renderer's lifetime if system colors
752 // are updated. 760 // are updated.
753 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. 761 // TODO(jeremy): Possibly change IPC format once we have this all hooked up.
754 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, 762 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors,
755 std::vector<CSSColors::CSSColorMapping>) 763 std::vector<CSSColors::CSSColorMapping>)
756 764
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 int32 /* complete status */) 2048 int32 /* complete status */)
2041 2049
2042 // Request updated information about the client firewall traversal policy. 2050 // Request updated information about the client firewall traversal policy.
2043 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2051 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2044 // being sent back. 2052 // being sent back.
2045 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2053 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2046 2054
2047 // Notifies the browser of an event occurring in the media pipeline. 2055 // Notifies the browser of an event occurring in the media pipeline.
2048 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2056 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2049 media::MediaLogEvent /* event */) 2057 media::MediaLogEvent /* event */)
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698