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

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

Issue 11092023: Browser Plugin: Implement CanGoBack/CanGoForward (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // A embedder sends this message to the browser when it wants 128 // A embedder sends this message to the browser when it wants
129 // to resize a guest plugin container so that the guest is relaid out 129 // to resize a guest plugin container so that the guest is relaid out
130 // according to the new size. 130 // according to the new size.
131 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, 131 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest,
132 int /* instance_id*/, 132 int /* instance_id*/,
133 BrowserPluginHostMsg_ResizeGuest_Params) 133 BrowserPluginHostMsg_ResizeGuest_Params)
134 134
135 // ----------------------------------------------------------------------------- 135 // -----------------------------------------------------------------------------
136 // These messages are from the browser process to the embedder. 136 // These messages are from the browser process to the embedder.
137 137
138 // When the guest navigates any of its frames, it reports to the browser plugin
139 // the current state of navigation history so that that information can be
140 // queried from Javascript.
141 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_NavigationStateUpdate,
142 int /* instance_id */,
143 bool /* current_entry_index */,
144 int /* entry_count */)
145
146
138 // When the guest begins to load a page, the browser process informs the 147 // When the guest begins to load a page, the browser process informs the
139 // embedder through the BrowserPluginMsg_LoadStart message. 148 // embedder through the BrowserPluginMsg_LoadStart message.
140 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, 149 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart,
141 int /* instance_id */, 150 int /* instance_id */,
142 GURL /* url */, 151 GURL /* url */,
143 bool /* is_top_level */) 152 bool /* is_top_level */)
144 153
145 // If the guest fails to commit a page load then it will inform the 154 // If the guest fails to commit a page load then it will inform the
146 // embedder through the BrowserPluginMsg_LoadAbort. A description 155 // embedder through the BrowserPluginMsg_LoadAbort. A description
147 // of the error will be stored in |type|. The list of known error 156 // of the error will be stored in |type|. The list of known error
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 227 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
219 int /* instance_id */, 228 int /* instance_id */,
220 bool /* accept */) 229 bool /* accept */)
221 230
222 // The guest has damage it wants to convey to the embedder so that it can 231 // The guest has damage it wants to convey to the embedder so that it can
223 // update its backing store. 232 // update its backing store.
224 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 233 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
225 int /* instance_id */, 234 int /* instance_id */,
226 int /* message_id */, 235 int /* message_id */,
227 BrowserPluginMsg_UpdateRect_Params) 236 BrowserPluginMsg_UpdateRect_Params)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698