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

Issue 10377158: Move keyboard related methods from RenderViewHostDelegate to a new RenderWidgetHostDelegate (Closed)

Created:
8 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, Ben Goodger (Google), brettw
Visibility:
Public.

Description

Move keyboard related methods from RenderViewHostDelegate to a new RenderWidgetHostDelegate That way, a WebContentsDelegate gets to handle the keyboard events also for widgets spawned by the WebContents BUG=none TEST=what could possibly go wrong? Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137436

Patch Set 1 #

Patch Set 2 : now with new files added #

Total comments: 2

Patch Set 3 : updates #

Patch Set 4 : patch for landing #

Patch Set 5 : remove crbug link #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -140 lines) Patch
M content/browser/renderer_host/render_view_host_factory.h View 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_factory.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 2 chunks +8 lines, -16 lines 0 comments Download
A content/browser/renderer_host/render_widget_host_delegate.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A content/browser/renderer_host/render_widget_host_delegate.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 4 chunks +7 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 7 chunks +9 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 10 chunks +62 lines, -40 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 chunks +10 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm View 1 2 3 3 chunks +14 lines, -4 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/renderer_host/text_input_client_mac_unittest.mm View 1 2 3 4 chunks +11 lines, -1 line 0 comments Download
M content/browser/web_contents/interstitial_page_impl.h View 3 chunks +7 lines, -3 lines 0 comments Download
M content/browser/web_contents/interstitial_page_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/render_view_host_manager.h View 3 chunks +12 lines, -7 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 4 chunks +9 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/render_view_host_delegate.h View 1 chunk +0 lines, -13 lines 0 comments Download
M content/public/browser/render_view_host_delegate.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/test/test_render_view_host_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_view_host_factory.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
jochen (gone - plz use gerrit)
lots of moving code around John/Brett/Ben: is this ok? Yusuke: would this solve your problem?
8 years, 7 months ago (2012-05-15 23:05:58 UTC) #1
jam
lgtm http://codereview.chromium.org/10377158/diff/2001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10377158/diff/2001/content/browser/renderer_host/render_widget_host_impl.cc#newcode136 content/browser/renderer_host/render_widget_host_impl.cc:136: CHECK(delegate_); // http://crbug.com/82827 wrong bug number?
8 years, 7 months ago (2012-05-16 06:37:49 UTC) #2
Yusuke Sato
> Yusuke: would this solve your problem? Yes! I've confirmed that Chrome can correctly handle ...
8 years, 7 months ago (2012-05-16 07:44:56 UTC) #3
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10377158/diff/2001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10377158/diff/2001/content/browser/renderer_host/render_widget_host_impl.cc#newcode136 content/browser/renderer_host/render_widget_host_impl.cc:136: CHECK(delegate_); // http://crbug.com/82827 On 2012/05/16 06:37:49, John Abd-El-Malek wrote: ...
8 years, 7 months ago (2012-05-16 11:01:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10377158/57
8 years, 7 months ago (2012-05-16 14:55:37 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 16:19:10 UTC) #6
Change committed as 137436

Powered by Google App Engine
This is Rietveld 408576698