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

Unified Diff: content/common/view_messages.h

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use IPC? Created 6 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index c7e64ee1f8eeda69aa03d145362d5825ce99f868..0c38146731c7c23604ad5bfe8e7d4c62a8cc041d 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -30,6 +30,7 @@
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/stop_find_action.h"
#include "content/public/common/three_d_api_types.h"
+#include "content/public/common/widget_visible_state.h"
#include "content/public/common/window_container_type.h"
#include "content/common/date_time_suggestion.h"
#include "ipc/ipc_channel_handle.h"
@@ -85,6 +86,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy,
content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX)
IPC_ENUM_TRAITS(content::StopFindAction)
IPC_ENUM_TRAITS(content::ThreeDAPIType)
+IPC_ENUM_TRAITS_MAX_VALUE(content::WidgetVisibleState,
+ content::WIDGET_VISIBLE_STATE_MAX)
IPC_ENUM_TRAITS(media::ChannelLayout)
IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX)
@@ -1534,10 +1537,13 @@ IPC_MESSAGE_ROUTED1(
ViewHostMsg_CompositorSurfaceBuffersSwapped,
ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */)
-IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
+IPC_MESSAGE_ROUTED3(ViewHostMsg_SwapCompositorFrame,
uint32 /* output_surface_id */,
cc::CompositorFrame /* frame */)
+IPC_MESSAGE_ROUTED1(ViewHostMsg_DeliverPayload,
+ IPC::Message /* payload */)
+
// Sent by the compositor when input scroll events are dropped due to bounds
// restricions on the root scroll offset.
IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll,

Powered by Google App Engine
This is Rietveld 408576698