DescriptionHide "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.
Committed: https://crrev.com/78437f79d5bfe182acdbf655a1b3ca08e593e5a3
Cr-Commit-Position: refs/heads/master@{#322040}
Patch Set 1 #Patch Set 2 : restrict based on channel #
Total comments: 2
Patch Set 3 : fix version checking, it was opposite #
Total comments: 4
Patch Set 4 : fix lint #Patch Set 5 : . #Patch Set 6 : make source_web_contents() return const WebContents* #Patch Set 7 : fix win8 unrechable code #
Messages
Total messages: 21 (8 generated)
|