Hide "Inspect Element" context menu item from <webview> when <webview>
commit78437f79d5bfe182acdbf655a1b3ca08e593e5a3
authorlazyboy <lazyboy@chromium.org>
Tue, 24 Mar 2015 19:06:51 +0000 (24 12:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Mar 2015 19:08:05 +0000 (24 19:08 +0000)
treeb755c479e8ed2b32a4f2238e915dd5147c8d7d04
parent4a892cc1b099fb0e6540f74487d1e738e1dd00e6
Hide "Inspect Element" context menu item from <webview> when <webview>
    is embedded in WebUI.
This is no-op in CANARY or tott build.

BUG=469237
Test=launch chrome with --enable-inline-signin
Navigate a tab to sign in page: i.e. chrome://chrome-signin/
Right click on white background, you shouldn't see inpsect element.

Review URL: https://codereview.chromium.org/1024153002

Cr-Commit-Position: refs/heads/master@{#322040}
chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc
components/renderer_context_menu/context_menu_content_type.h