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

Issue 9838009: Clean up a few TODO items. (Closed)

Created:
8 years, 9 months ago by Jói
Modified:
8 years, 9 months ago
Reviewers:
jam
CC:
chromium-reviews, yusukes+watch_chromium.org, dhollowa+watch_chromium.org, yoshiki+watch_chromium.org, dmazzoni+watch_chromium.org, ajwong+watch_chromium.org, Ilya Sherman, GeorgeY, aboxhall+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, Avi (use Gerrit), creis+watch_chromium.org, dyu1, penghuang+watch_chromium.org, yuzo+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, hashimoto+watch_chromium.org, davidbarr+watch_chromium.org, dtseng+watch_chromium.org, James Su
Visibility:
Public.

Description

Clean up a few TODO items. Push UnhandledWheelEvent and GetBrowserAccessibilityManager down to RenderWidgetHostViewPort. Get rid of OnMessageReceivedForTesting, in favor of RenderViewHostTester::TestOnMessageReceived (which already existed but needed to be converted to a static method so it could be used with regular RenderViewHost instances). Rename WebContentsTester::pending_rvh() to GetPendingRvh() since it's a virtual method. Remove top-level alias for content::RenderViewHostTestHarness and switch clients to use the fully-qualified name. Clean up a couple of other minor TODO items, some had already been done and the comment just needed to be removed; in one case the TODO was just wrong (in dump_accessibility_tree_browsertest.cc) since it's OK for content to depend on content implementations. Remove test_tab_contents.h from DEPS (seems to have been a merge failure in my last change that left this in). BUG=98716 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128263

Patch Set 1 #

Patch Set 2 : Move GetBrowserAccessibilityManager up to Port #

Patch Set 3 : Fix compile #

Total comments: 6

Patch Set 4 : Respond to review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -164 lines) Patch
M chrome/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 14 chunks +52 lines, -26 lines 0 comments Download
M chrome/browser/web_applications/web_app_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/base/chrome_render_view_host_test_harness.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/base/chrome_render_view_host_test_harness.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/intents/internal_web_intents_dispatcher_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 3 chunks +10 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_impl_unittest.cc View 1 2 3 6 chunks +8 lines, -8 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/tab_contents/tab_contents_unittest.cc View 1 2 3 26 chunks +30 lines, -30 lines 0 comments Download
M content/browser/tab_contents/test_tab_contents.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tab_contents/test_tab_contents.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 chunk +0 lines, -9 lines 0 comments Download
M content/test/test_renderer_host.h View 3 chunks +5 lines, -7 lines 0 comments Download
M content/test/test_renderer_host.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/test/web_contents_tester.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Jói
8 years, 9 months ago (2012-03-22 16:52:15 UTC) #1
jam
lgtm http://codereview.chromium.org/9838009/diff/1132/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): http://codereview.chromium.org/9838009/diff/1132/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode24 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:24: #include "content/port/browser/render_widget_host_view_port.h" nit: order http://codereview.chromium.org/9838009/diff/1132/content/browser/renderer_host/render_widget_host_view_mac.h File content/browser/renderer_host/render_widget_host_view_mac.h (right): ...
8 years, 9 months ago (2012-03-22 17:15:41 UTC) #2
Jói
http://codereview.chromium.org/9838009/diff/1132/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): http://codereview.chromium.org/9838009/diff/1132/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode24 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:24: #include "content/port/browser/render_widget_host_view_port.h" On 2012/03/22 17:15:41, John Abd-El-Malek wrote: > ...
8 years, 9 months ago (2012-03-22 17:39:58 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/9838009/8001
8 years, 9 months ago (2012-03-22 17:41:48 UTC) #4
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 19:05:07 UTC) #5
Change committed as 128263

Powered by Google App Engine
This is Rietveld 408576698