| Index: chrome/browser/renderer_host/render_view_host_delegate.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host_delegate.h (revision 63740)
|
| +++ chrome/browser/renderer_host/render_view_host_delegate.h (working copy)
|
| @@ -50,6 +50,7 @@
|
| struct ViewHostMsg_PageHasOSDD_Type;
|
| struct ViewHostMsg_RunFileChooser_Params;
|
| struct WebDropData;
|
| +struct WebMenuItem;
|
| class WebKeyboardEvent;
|
| struct WebPreferences;
|
|
|
| @@ -146,6 +147,16 @@
|
| // provided in the supplied params.
|
| virtual void ShowContextMenu(const ContextMenuParams& params) = 0;
|
|
|
| + // Shows a popup menu with the specified items.
|
| + // This method should call RenderViewHost::DidSelectPopupMenuItemAt() or
|
| + // RenderViewHost::DidCancelPopupMenu() ased on the user action.
|
| + virtual void ShowPopupMenu(const gfx::Rect& bounds,
|
| + int item_height,
|
| + double item_font_size,
|
| + int selected_item,
|
| + const std::vector<WebMenuItem>& items,
|
| + bool right_aligned) = 0;
|
| +
|
| // The user started dragging content of the specified type within the
|
| // RenderView. Contextual information about the dragged content is supplied
|
| // by WebDropData.
|
|
|