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

Unified Diff: content/common_child/plugin_messages.h

Issue 15047014: Move child-common classes to content/common_child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common_child/plugin_message_generator.cc ('k') | content/common_child/plugin_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common_child/plugin_messages.h
diff --git a/content/common/plugin_messages.h b/content/common_child/plugin_messages.h
similarity index 80%
rename from content/common/plugin_messages.h
rename to content/common_child/plugin_messages.h
index 2fa08834137e9359b348d65164d731c58b30f9b7..d82bc720bf70f6b90f30f1b80f11ccd23b85c1c9 100644
--- a/content/common/plugin_messages.h
+++ b/content/common_child/plugin_messages.h
@@ -7,7 +7,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
-#include "content/common/plugin_param_traits.h"
+#include "content/common_child/plugin_param_traits.h"
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
@@ -61,79 +61,6 @@ IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param)
IPC_STRUCT_END()
//-----------------------------------------------------------------------------
-// PluginProcess messages
-// These are messages sent from the browser to the plugin process.
-// Tells the plugin process to create a new channel for communication with a
-// given renderer. The channel name is returned in a
-// PluginProcessHostMsg_ChannelCreated message. The renderer ID is passed so
-// that the plugin process reuses an existing channel to that process if it
-// exists. This ID is a unique opaque identifier generated by the browser
-// process.
-IPC_MESSAGE_CONTROL2(PluginProcessMsg_CreateChannel,
- int /* renderer_id */,
- bool /* off_the_record */)
-
-// Tells the plugin process to notify every connected renderer of the pending
-// shutdown, so we don't mistake it for a crash.
-IPC_MESSAGE_CONTROL0(PluginProcessMsg_NotifyRenderersOfPendingShutdown)
-
-
-//-----------------------------------------------------------------------------
-// PluginProcessHost messages
-// These are messages sent from the plugin process to the browser process.
-// Response to a PluginProcessMsg_CreateChannel message.
-IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated,
- IPC::ChannelHandle /* channel_handle */)
-
-#if defined(OS_WIN)
-// Destroys the given window's parent on the UI thread.
-IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed,
- HWND /* window */,
- HWND /* parent */)
-#endif
-
-#if defined(USE_X11)
-// On X11, the mapping between NativeViewId and X window ids
-// is known only to the browser. This message lets the plugin process
-// ask about a NativeViewId that was provided by the renderer.
-// It will get 0 back if it's a bogus input.
-IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId,
- gfx::NativeViewId /* input: native view id */,
- gfx::PluginWindowHandle /* output: X window id */)
-#endif
-
-#if defined(OS_MACOSX)
-// On Mac OS X, we need the browser to keep track of plugin windows so
-// that it can add and remove them from stacking groups, hide and show the
-// menu bar, etc. We pass the window rect for convenience so that the
-// browser can easily tell if the window is fullscreen.
-
-// Notifies the browser that the plugin has selected a window (i.e., brought
-// it to the front and wants it to have keyboard focus).
-IPC_MESSAGE_CONTROL3(PluginProcessHostMsg_PluginSelectWindow,
- uint32 /* window ID */,
- gfx::Rect /* window rect */,
- bool /* modal */)
-
-// Notifies the browser that the plugin has shown a window.
-IPC_MESSAGE_CONTROL3(PluginProcessHostMsg_PluginShowWindow,
- uint32 /* window ID */,
- gfx::Rect /* window rect */,
- bool /* modal */)
-
-// Notifies the browser that the plugin has hidden a window.
-IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow,
- uint32 /* window ID */,
- gfx::Rect /* window rect */)
-
-// Notifies the browser that a plugin instance has requested a cursor
-// visibility change.
-IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility,
- bool /* cursor visibility */)
-#endif
-
-
-//-----------------------------------------------------------------------------
// Plugin messages
// These are messages sent from the renderer process to the plugin process.
// Tells the plugin process to create a new plugin instance with the given
@@ -287,11 +214,6 @@ IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle,
gfx::PluginWindowHandle /* window */)
#endif
-IPC_MESSAGE_CONTROL3(PluginMsg_ClearSiteData,
- std::string /* site */,
- uint64 /* flags */,
- uint64 /* max_age */)
-
//-----------------------------------------------------------------------------
// PluginHost messages
// These are messages sent from the plugin process to the renderer process.
@@ -400,9 +322,6 @@ IPC_MESSAGE_ROUTED3(PluginHostMsg_AcceleratedPluginAllocatedIOSurface,
IPC_MESSAGE_ROUTED0(PluginHostMsg_AcceleratedPluginSwappedIOSurface)
#endif
-IPC_MESSAGE_CONTROL1(PluginHostMsg_ClearSiteDataResult,
- bool /* success */)
-
IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse,
bool /* allow */,
int /* resource_id */)
« no previous file with comments | « content/common_child/plugin_message_generator.cc ('k') | content/common_child/plugin_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698