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

Issue 2878153002: Fixed some edit commands for OOPIF-<webivew> (Mac) (Closed)

Created:
3 years, 7 months ago by EhsanK
Modified:
3 years, 7 months ago
Reviewers:
Charlie Reis, wjmaclean
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, James Su
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed some edit commands for OOPIF-<webivew> (Mac) OS edit commands for Mac are sent through WebContentsImpl which sends them to the focused RenderFrame. This however does not play well with nested (inner) WebContentses as GetFocusedFrame() returns the focused frame within the frame tree of the WebContents only. This CL fixes the issue with OOPIF-webviews by calling the corresponding edit commands on the focused RenderWidgetHostDelegate (WebContentsImpl). The CL also enables the WebViewInteractiveTest.EditCommands which was failing on OOPIF-<webview>. BUG=721984, 582562 Review-Url: https://codereview.chromium.org/2878153002 Cr-Commit-Position: refs/heads/master@{#472131} Committed: https://chromium.googlesource.com/chromium/src/+/7b9e08e23f6e26b385619215fc80ac93d374a604

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing creis@'s comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -21 lines) Patch
M chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 4 chunks +23 lines, -16 lines 2 comments Download

Messages

Total messages: 21 (13 generated)
EhsanK
PTAL. creis@: content/ review. wjmaclean@: OWNER review for test. Thanks!
3 years, 7 months ago (2017-05-13 03:29:27 UTC) #4
Charlie Reis
Thanks! LGTM with one question about fallback behavior. https://codereview.chromium.org/2878153002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.h File content/browser/renderer_host/render_widget_host_view_mac.h (right): https://codereview.chromium.org/2878153002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.h#newcode492 content/browser/renderer_host/render_widget_host_view_mac.h:492: // ...
3 years, 7 months ago (2017-05-15 21:36:58 UTC) #7
EhsanK
Thanks Charlie! I tried to answer the question. I still need wjmaclean's owner LGTM for ...
3 years, 7 months ago (2017-05-16 04:34:32 UTC) #8
wjmaclean
On 2017/05/16 04:34:32, EhsanK wrote: > Thanks Charlie! I tried to answer the question. > ...
3 years, 7 months ago (2017-05-16 11:57:34 UTC) #9
EhsanK
Thank you all! I will CQ later today.
3 years, 7 months ago (2017-05-16 13:53:53 UTC) #10
Charlie Reis
https://codereview.chromium.org/2878153002/diff/20001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/2878153002/diff/20001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode730 content/browser/renderer_host/render_widget_host_view_mac.mm:730: return render_widget_host_->delegate(); On 2017/05/16 04:34:32, EhsanK wrote: > We ...
3 years, 7 months ago (2017-05-16 16:24:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2878153002/20001
3 years, 7 months ago (2017-05-16 16:50:48 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 16:58:55 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7b9e08e23f6e26b385619215fc80...

Powered by Google App Engine
This is Rietveld 408576698