Commit a9f3932a authored by Roman Arora's avatar Roman Arora Committed by Commit Bot

Tab Search: Disable context menu

Bug: 1099917
Change-Id: I90dd2b7bf62d6289976c5ae53293773529f0e4a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429468Reviewed-by: default avatarThomas Lukaszewicz <tluk@chromium.org>
Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810458}
parent 29fb38f0
...@@ -35,6 +35,13 @@ class TabSearchWebView : public views::WebView { ...@@ -35,6 +35,13 @@ class TabSearchWebView : public views::WebView {
parent_->OnWebViewSizeChanged(); parent_->OnWebViewSizeChanged();
} }
// content::WebContentsDelegate:
bool HandleContextMenu(content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params) override {
// Ignores context menu.
return true;
}
private: private:
TabSearchBubbleView* parent_; TabSearchBubbleView* parent_;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment