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

Unified Diff: content/common/view_messages.h

Issue 10436010: Multi-select <select> in 'external popup window' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase after reverts and re-reverts.. Created 8 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 d64536b0a38473922eec853429c9f399c26ed494..897c4e02e03d7e5055e91aa476f907a675cdaea3 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -465,6 +465,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params)
// Whether items should be right-aligned.
IPC_STRUCT_MEMBER(bool, right_aligned)
+
+ // Whether this is a multi-select popup.
+ IPC_STRUCT_MEMBER(bool, allow_multiple_selection)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params)
@@ -960,6 +963,14 @@ IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest,
IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
int /* selected index, -1 means no selection */)
Avi (use Gerrit) 2012/05/24 18:41:41 If ViewMsg_SelectPopupMenuItems gets an platform #
aruslan 2012/05/24 19:53:15 Done.
+
+#if defined(OS_ANDROID)
+// External popup menus.
+IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems,
+ bool /* user canceled the popup */,
+ std::vector<int> /* selected indices */)
+#endif
+
// Change the zoom level for the current main frame. If the level actually
// changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
// telling it what url got zoomed and what its current zoom level is.

Powered by Google App Engine
This is Rietveld 408576698