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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 1602903003: Display the context menu on Windows on long press release (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 11 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/browser/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index 70c29b0583b85f7872aebb2f8456aa84018289ef..b5f2cdc48a79b57b4416ac412eab4d67085bed3d 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -39,8 +39,8 @@ class WebContentsViewDelegate;
class WebContentsImpl;
class WebDragDestDelegate;
-class WebContentsViewAura
- : public WebContentsView,
+class CONTENT_EXPORT WebContentsViewAura
+ : NON_EXPORTED_BASE(public WebContentsView),
public RenderViewHostDelegateView,
public OverscrollControllerDelegate,
public aura::WindowDelegate,
@@ -50,6 +50,9 @@ class WebContentsViewAura
WebContentsViewAura(WebContentsImpl* web_contents,
WebContentsViewDelegate* delegate);
+ // Allow the WebContentsViewDelegate to be set explicitly.
+ void SetDelegateForTesting(WebContentsViewDelegate* delegate);
+
private:
class WindowObserver;

Powered by Google App Engine
This is Rietveld 408576698