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

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed)

Created:
6 years, 9 months ago by jam
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, tfarina, site-isolation-reviews_chromium.org, mohsen, Feng Qian
Visibility:
Public.

Description

Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. The remaining uses of context_menu_node_ are easy to convert, but I've left them to a future cl so as to not make this cl any bigger. The main part of this cl is to move the Copy edit command from RenderViewHost to RenderFrameHost. To do that, I also had to convert Cut and Paste at the same time because of BrowserView. BUG=304341 R=nasko@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255735

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : fix android #

Patch Set 9 : fix android #

Patch Set 10 : sync #

Patch Set 11 : compile fixes #

Patch Set 12 : compile fixes #

Patch Set 13 : fix mac compile #

Patch Set 14 : sync #

Patch Set 15 : sync #

Patch Set 16 : fix mac #

Patch Set 17 : fix touch_editable_impl #

Patch Set 18 : fix part of ime_adapter_android.cc #

Patch Set 19 : fix rest of ime_adapter_android #

Patch Set 20 : fix rest of ime_adapter_android #

Patch Set 21 : sync #

Total comments: 2

Patch Set 22 : undo changes to ime_adapter_android which aurimas will fix #

Patch Set 23 : sync #

Patch Set 24 : sync to get android fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -139 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/applescript/tab_applescript.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_window_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/pdf/pdf_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +10 lines, -8 lines 0 comments Download
M content/browser/frame_host/frame_tree.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +22 lines, -1 line 0 comments Download
M content/browser/renderer_host/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +32 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +0 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +12 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +30 lines, -12 lines 0 comments Download
M content/browser/web_contents/touch_editable_impl_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +9 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -3 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +41 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +0 lines, -32 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +10 lines, -3 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -3 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jam
This cl depends on this Blink change: https://codereview.chromium.org/184103030/
6 years, 9 months ago (2014-03-05 21:15:47 UTC) #1
nasko
I have just a few minor comments on the code, but I think overall we ...
6 years, 9 months ago (2014-03-05 21:50:47 UTC) #2
jam
Thanks, agreed that this makes the API consistent going forward. ptal https://codereview.chromium.org/183923030/diff/100001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): ...
6 years, 9 months ago (2014-03-06 00:59:36 UTC) #3
nasko
I like this approach a lot better, thanks for changing it! It looks there are ...
6 years, 9 months ago (2014-03-06 04:52:37 UTC) #4
jam
+aurimas for ime_adapter_android.*: this is mostly fixing the thread-safety issues in that file which I ...
6 years, 9 months ago (2014-03-07 17:22:59 UTC) #5
jam
mohsen: fyi, with help from davemoore, I've pushed a build to a pixel and verified ...
6 years, 9 months ago (2014-03-07 18:02:54 UTC) #6
aurimas (slooooooooow)
https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc#newcode109 content/browser/renderer_host/ime_adapter_android.cc:109: base::Bind(&ImeAdapterAndroid::SendSyntheticKeyEventOnUI, this, event)); I was under impression that most ...
6 years, 9 months ago (2014-03-07 18:04:38 UTC) #7
jam
https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc#newcode109 content/browser/renderer_host/ime_adapter_android.cc:109: base::Bind(&ImeAdapterAndroid::SendSyntheticKeyEventOnUI, this, event)); On 2014/03/07 18:04:40, aurimas wrote: > ...
6 years, 9 months ago (2014-03-07 18:15:44 UTC) #8
aurimas (slooooooooow)
On 2014/03/07 18:15:44, jam wrote: > https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc > File content/browser/renderer_host/ime_adapter_android.cc (right): > > https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc#newcode109 > ...
6 years, 9 months ago (2014-03-07 18:20:06 UTC) #9
nasko
LGTM
6 years, 9 months ago (2014-03-07 18:22:16 UTC) #10
jam
On 2014/03/07 18:20:06, aurimas wrote: > On 2014/03/07 18:15:44, jam wrote: > > > https://codereview.chromium.org/183923030/diff/480001/content/browser/renderer_host/ime_adapter_android.cc ...
6 years, 9 months ago (2014-03-07 18:24:22 UTC) #11
aurimas (slooooooooow)
6 years, 9 months ago (2014-03-07 22:03:30 UTC) #12
> two questions:
> 1) if i'm ready to enable this before that fix lands, can I disable these
tests
> in the meantime? if so can you tell me how to disable them? i've had a tough
> time before trying to disable android tests. i'll revert my changes now
> 2) what about the ImeAdapterAndroid::SendKeyEvent crash from the linked bug,
is
> that something else?

1) My CL is making its way through to fix the tests:
https://chromiumcodereview.appspot.com/191133003/

2) I am not sure ImeAdapterAndroid::SendKeyEvent. +feng who might know.

Powered by Google App Engine
This is Rietveld 408576698