Index: content/browser/renderer_host/render_widget_host_view_aura.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h |
index 98c969bd4a998c0e2c1492268996350d5f6172fe..113cec430fa827e2a4d79a3c9611a87514e9240a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -355,6 +355,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
virtual DelegatedFrameHost* GetDelegatedFrameHost() const OVERRIDE; |
private: |
+ FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
+ PopupRetainsCaptureAfterMouseRelease); |
FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); |
FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); |
FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
@@ -403,6 +405,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
// Returns whether the widget needs an input grab to work properly. |
bool NeedsInputGrab(); |
+ // Returns whether the widget needs to grab mouse capture to work properly. |
+ bool NeedsMouseCapture(); |
+ |
// Confirm existing composition text in the webpage and ask the input method |
// to cancel its ongoing composition session. |
void FinishImeCompositionSession(); |