DescriptionIn the OOP PDF context menu 'Print..' is being shown 2 times
When we launch pdf with --out-of-process-pdf --enable-mime-handler-view
and then select a word and then right click outside selection
then context menu has 'Print..' 2 times.
IDC_PRINT is getting added once as part of AppendPluginItem()
and again as part of AppendPrintItem().
BUG=420954
Test=
1.launch chrome browser with --out-of-process-pdf --enable-mime-handler-view options.
2.Open a PDF and select some word.
3.Then right click outside selection.
Then we will see 2 |Print..| context menu items.
Committed: https://crrev.com/b3115e6252af69ca0aca60ed8b1334d46561b2b7
Cr-Commit-Position: refs/heads/master@{#298648}
Patch Set 1 #Patch Set 2 : fixed compilation error. #
Total comments: 2
Patch Set 3 : Changes as per comments. #
Total comments: 2
Patch Set 4 : Changes as per comments. #
Total comments: 1
Patch Set 5 : nit correction. #Messages
Total messages: 16 (4 generated)
|