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

Unified Diff: content/public/renderer/render_view_observer.h

Issue 11245004: [content shell] link against the TestRunner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 2 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
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_view_observer.h
diff --git a/content/public/renderer/render_view_observer.h b/content/public/renderer/render_view_observer.h
index 6999159d902573bf39e6fa9fbb49c8bd38f11c1b..b3f63b95ec8633328474da9bbf962f474b6b6e79 100644
--- a/content/public/renderer/render_view_observer.h
+++ b/content/public/renderer/render_view_observer.h
@@ -27,6 +27,7 @@ class WebMouseEvent;
class WebNode;
class WebTouchEvent;
class WebURL;
+struct WebContextMenuData;
struct WebURLError;
}
@@ -82,6 +83,9 @@ class CONTENT_EXPORT RenderViewObserver : public IPC::Listener,
virtual void ZoomLevelChanged() {};
virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {}
virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {}
+ virtual void DidRequestShowContextMenu(
+ WebKit::WebFrame* frame,
+ const WebKit::WebContextMenuData& data) {}
// These match the RenderView methods.
virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698