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

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 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 e85bda17f875696c89baa6b0b07604f1c3c7e31d..57966c3bee8f8dc5db47c412e6931f37578d3f00 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -466,6 +466,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)
@@ -973,8 +976,14 @@ IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest,
std::string /* css string */)
// External popup menus.
+#if defined(OS_MACOSX)
IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
int /* selected index, -1 means no selection */)
+#elif defined(OS_ANDROID)
+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
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | content/port/browser/render_view_host_delegate_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698