Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Issue 931073002: Fix for Incomplete context menu shown in PDF. (Closed)

Created:
5 years, 10 months ago by Deepak
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix for Incomplete context menu shown in pdf as reload,back,forward options are missing in context menu. when we have MimeHandlerViewGuest then we should use embedded webcontent and should show full page context menu. Changes done for using embedded web contents when we have guest view and showing full page context menu. BUG=449919 Committed: https://crrev.com/6d3e1fd0bcb68f3e0f26119b783945e31e104528 Cr-Commit-Position: refs/heads/master@{#316843}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changes as per review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -23 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 10 chunks +25 lines, -23 lines 0 comments Download
M components/renderer_context_menu/render_view_context_menu_base.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M components/renderer_context_menu/render_view_context_menu_base.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Deepak
PTAL. Thanks
5 years, 10 months ago (2015-02-17 08:32:01 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/931073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/931073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1012 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1012: return GetWebContentsToUse(source_web_contents_) Can you pull GetWebContentsToUse(source_web_contents_) into a variable?
5 years, 10 months ago (2015-02-17 16:22:42 UTC) #3
raymes
Note that rotate commands aren't working in the embedded case. https://codereview.chromium.org/931073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/931073002/diff/1/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode775 ...
5 years, 10 months ago (2015-02-18 00:39:46 UTC) #4
Deepak
@Avi Thanks for review. Changes done as suggested. PTAL.
5 years, 10 months ago (2015-02-18 05:51:34 UTC) #5
Avi (use Gerrit)
lgtm ok.
5 years, 10 months ago (2015-02-18 15:25:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/931073002/20001
5 years, 10 months ago (2015-02-18 16:38:36 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-18 16:42:01 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6d3e1fd0bcb68f3e0f26119b783945e31e104528 Cr-Commit-Position: refs/heads/master@{#316843}
5 years, 10 months ago (2015-02-18 16:42:53 UTC) #10
raymes
Hey Deepak. Please make this change in a followup CL. Also, note that the Rotate ...
5 years, 10 months ago (2015-02-19 00:20:46 UTC) #11
Deepak
5 years, 10 months ago (2015-02-19 03:34:52 UTC) #12
Message was sent while issue was closed.
On 2015/02/19 00:20:46, raymes wrote:
> Hey Deepak. Please make this change in a followup CL. Also, note that the
Rotate
> menu items don't work in the embedded case. Could you please look into that?
> Thanks!
> 
>
https://codereview.chromium.org/931073002/diff/20001/components/renderer_cont...
> File components/renderer_context_menu/render_view_context_menu_base.h (right):
> 
>
https://codereview.chromium.org/931073002/diff/20001/components/renderer_cont...
> components/renderer_context_menu/render_view_context_menu_base.h:166:
> content::WebContents* embedded_web_contents_;
> This should be called embedder_web_contents_.
> 
> Please also add a comment.
> 
> // In the case of a MimeHandlerView this will point to the WebContents that
> embeds the MimeHandlerViewGuest. Otherwise this will be the same as
> source_web_contents_.

ya, sure I will do this ASAP.
Thanks.

Powered by Google App Engine
This is Rietveld 408576698