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

Issue 1133003003: Fix copying from interstitial pages on OSX by going through the RenderWidgetHostDelegate. (Closed)

Created:
5 years, 7 months ago by lgarron
Modified:
5 years, 5 months ago
Reviewers:
kenrb, Charlie Reis, nasko
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, felt, jam, nasko+codewatch_chromium.org, nona+watch_chromium.org, palmer, penghuang+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix copying from interstitial pages on OSX by going through the RenderWidgetHostDelegate. BUG=415784

Patch Set 1 #

Patch Set 2 : Implement other OS operations. #

Total comments: 15

Patch Set 3 : Address Nasko's comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -24 lines) Patch
M content/browser/frame_host/interstitial_page_impl.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 2 chunks +86 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 chunks +49 lines, -24 lines 1 comment Download

Messages

Total messages: 11 (2 generated)
lgarron
Take 2, based on Charlie's suggestion in comment #15 of [1]. The first patch only ...
5 years, 7 months ago (2015-05-13 01:08:19 UTC) #2
lgarron
Also, WebContentsImpl::Unselect() and WebContentsImpl::Delete() are not called by render_widget_host_view_mac.mm. Is it fine to ignore those ...
5 years, 7 months ago (2015-05-13 01:14:06 UTC) #3
nasko
Thanks for implementing it with this pattern. Overall looks fine with some changes needed. I ...
5 years, 7 months ago (2015-05-13 17:24:08 UTC) #4
lgarron
Yep, this CL doesn't have tests yet. I barely had things working when I made ...
5 years, 7 months ago (2015-05-13 21:58:41 UTC) #5
lgarron
I'm a bit lost on how exactly to test this. There's an ssl_browser_tests.cc class that ...
5 years, 7 months ago (2015-05-14 01:31:21 UTC) #6
Charlie Reis
[+kenrb] Thanks for switching to this approach! Ken, do you have any advice for testing ...
5 years, 7 months ago (2015-05-14 20:36:28 UTC) #8
nasko
I need to think/dig for ideas for testing. Just a few comments https://codereview.chromium.org/1133003003/diff/20001/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h ...
5 years, 7 months ago (2015-05-14 20:45:23 UTC) #9
kenrb
On 2015/05/14 20:36:28, Charlie Reis wrote: > [+kenrb] > > Thanks for switching to this ...
5 years, 7 months ago (2015-05-15 20:48:06 UTC) #10
lgarron
5 years, 5 months ago (2015-07-10 01:05:50 UTC) #11
On 2015/05/15 at 20:48:06, kenrb wrote:
> On 2015/05/14 20:36:28, Charlie Reis wrote:
> > [+kenrb]
> > 
> > Thanks for switching to this approach!
> > 
> > Ken, do you have any advice for testing input events like copy/paste?
> > 
> 
> I'm not sure, but my best guess would be to add a test to
render_widget_host_view_mac_unittest.mm that triggers the copy and paste events,
although there might be some extra setup work to have an interstitial page.

Closing in favor of https://codereview.chromium.org/1162373002 and
https://codereview.chromium.org/1212373009

Powered by Google App Engine
This is Rietveld 408576698