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

Unified Diff: content/port/browser/render_view_host_delegate_view.h

Issue 10917102: Context menus should appear above the touch point if invoked by long press. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 3 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/port/browser/render_view_host_delegate_view.h
diff --git a/content/port/browser/render_view_host_delegate_view.h b/content/port/browser/render_view_host_delegate_view.h
index 74d194fcb758e40814254e6ed31ceb6cb190a704..678a449c4f37561f0bedb4afdf437174980d37e2 100644
--- a/content/port/browser/render_view_host_delegate_view.h
+++ b/content/port/browser/render_view_host_delegate_view.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "content/common/content_export.h"
+#include "content/public/common/context_menu_source_type.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
class SkBitmap;
@@ -32,7 +33,8 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
public:
// A context menu should be shown, to be built using the context information
// provided in the supplied params.
- virtual void ShowContextMenu(const ContextMenuParams& params) {}
+ virtual void ShowContextMenu(const ContextMenuParams& params,
+ const ContextMenuSourceType& type) {}
jam 2012/09/07 17:07:56 ditto
// Shows a popup menu with the specified items.
// This method should call RenderViewHost::DidSelectPopupMenuItem[s]() or

Powered by Google App Engine
This is Rietveld 408576698