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

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

Issue 11048023: Browser Plugin: Implement terminate() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT 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 18 matching lines...) Expand all
29 // These messages are from the embedder to the browser process. 29 // These messages are from the embedder to the browser process.
30 30
31 // This message is sent to the browser process to create the browser plugin 31 // This message is sent to the browser process to create the browser plugin
32 // embedder and helper. It is sent once prior to sending the first 32 // embedder and helper. It is sent once prior to sending the first
33 // BrowserPluginHostMsg_NavigateGuest message. 33 // BrowserPluginHostMsg_NavigateGuest message.
34 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_CreateGuest, 34 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_CreateGuest,
35 int /* instance_id */, 35 int /* instance_id */,
36 std::string /* storage_partition_id */, 36 std::string /* storage_partition_id */,
37 bool /* persist_storage */) 37 bool /* persist_storage */)
38 38
39 // Tells the browser process to terminate the guest associated with the
40 // browser plugin associated with the provided |instance_id|.
41 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_TerminateGuest,
42 int /* instance_id */)
43
39 // Tells the guest to navigate to an entry |relative_index| away from the 44 // Tells the guest to navigate to an entry |relative_index| away from the
40 // current navigation entry. 45 // current navigation entry.
41 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_Go, 46 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_Go,
42 int /* instance_id */, 47 int /* instance_id */,
43 int /* relative_index */) 48 int /* relative_index */)
44 49
45 // Tells the guest to focus or defocus itself. 50 // Tells the guest to focus or defocus itself.
46 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, 51 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus,
47 int /* instance_id */, 52 int /* instance_id */,
48 bool /* enable */) 53 bool /* enable */)
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 188 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
184 int /* instance_id */, 189 int /* instance_id */,
185 bool /* accept */) 190 bool /* accept */)
186 191
187 // The guest has damage it wants to convey to the embedder so that it can 192 // The guest has damage it wants to convey to the embedder so that it can
188 // update its backing store. 193 // update its backing store.
189 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 194 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
190 int /* instance_id */, 195 int /* instance_id */,
191 int /* message_id */, 196 int /* message_id */,
192 BrowserPluginMsg_UpdateRect_Params) 197 BrowserPluginMsg_UpdateRect_Params)
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_host_browsertest.cc ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698