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

Unified Diff: extensions/common/guest_view/guest_view_messages.h

Issue 1092853002: GuestView: Decouple extension IPCs from soon-to-be component IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_guest_view_registry_to_guest_view_manager
Patch Set: Updated Created 5 years, 8 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
Index: extensions/common/guest_view/guest_view_messages.h
diff --git a/extensions/common/guest_view/guest_view_messages.h b/extensions/common/guest_view/guest_view_messages.h
index b1b18ade42ec5743ab69d8f1459f098087cda9fa..9772b6fd18dc323c7c4ff179eefbed484c22c10e 100644
--- a/extensions/common/guest_view/guest_view_messages.h
+++ b/extensions/common/guest_view/guest_view_messages.h
@@ -5,26 +5,13 @@
// IPC messages for GuestViews.
// Multiply-included message file, hence no include guard.
-#include <string>
-
#include "base/values.h"
#include "ipc/ipc_message_macros.h"
-#include "ui/gfx/geometry/size.h"
-#include "ui/gfx/ipc/gfx_param_traits.h"
#define IPC_MESSAGE_START GuestViewMsgStart
// Messages sent from the browser to the renderer.
-// The ACK for GuestViewHostMsg_CreateMimeHandlerViewGuest.
-IPC_MESSAGE_CONTROL1(GuestViewMsg_CreateMimeHandlerViewGuestACK,
- int /* element_instance_id */)
-
-// Once a MimeHandlerView guest's JavaScript onload function has been called,
-// this IPC is sent to the container to notify it.
-IPC_MESSAGE_CONTROL1(GuestViewMsg_MimeHandlerViewGuestOnLoadCompleted,
- int /* element_instance_id */)
-
// Once a RenderView proxy has been created for the guest in the embedder render
// process, this IPC informs the embedder of the proxy's routing ID.
IPC_MESSAGE_CONTROL2(GuestViewMsg_GuestAttached,
@@ -46,21 +33,3 @@ IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest,
int /* element_instance_id */,
int /* guest_instance_id */,
base::DictionaryValue /* attach_params */)
-
-// Tells the browser to create a mime handler guest view for a plugin.
-IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest,
- int /* render_frame_id */,
- std::string /* view_id */,
- int /* element_instance_id */,
- gfx::Size /* element_size */)
-
-// A renderer sends this message when it wants to resize a guest.
-IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest,
- int /* routing_id */,
- int /* element_instance_id*/,
- gfx::Size /* new_size */)
-
-IPC_SYNC_MESSAGE_CONTROL2_1(GuestViewHostMsg_CanExecuteContentScriptSync,
- int /* routing_id */,
- int /* script_id */,
- bool /* allowed */)

Powered by Google App Engine
This is Rietveld 408576698