| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index ebd18a09057faf726baa082d4d1e9d41860173ee..989cfea30e45ca2215c9b406be735236e418a2f4 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -782,6 +782,12 @@ class WebContents : public PageNavigator,
|
| // Returns true if the current focused element is editable.
|
| virtual bool IsFocusedElementEditable() = 0;
|
|
|
| + // Returns true if a context menu is showing on the page.
|
| + virtual bool IsShowingContextMenu() const = 0;
|
| +
|
| + // Tells the WebContents whether the context menu is showing.
|
| + virtual void SetShowingContextMenu(bool showing) = 0;
|
| +
|
| #if defined(OS_ANDROID)
|
| CONTENT_EXPORT static WebContents* FromJavaWebContents(
|
| const base::android::JavaRef<jobject>& jweb_contents_android);
|
|
|