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

Issue 8865004: Create CoreTabHelper, move remaining core TCW functionality into it. (Closed)

Created:
9 years ago by Avi (use Gerrit)
Modified:
9 years ago
Reviewers:
Jói
CC:
chromium-reviews, jstritar+watch_chromium.org, cbentzel+watch_chromium.org, creis+watch_chromium.org, tburkard+watch_chromium.org, brettw-cc_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, dominich+watch_chromium.org, ajwong+watch_chromium.org, Paweł Hajdan Jr., mmenke
Visibility:
Public.

Description

Create a bunch of TabHelpers and TabObservers, move all TCW functionality into them. BUG=105872 TEST=no change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113808

Patch Set 1 #

Total comments: 6

Patch Set 2 : lots of helpers now #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+721 lines, -1158 lines) Patch
M chrome/browser/extensions/extension_tab_helper.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_loader.cc View 5 chunks +7 lines, -5 lines 0 comments Download
D chrome/browser/pdf_browsertest.cc View 1 1 chunk +0 lines, -360 lines 0 comments Download
D chrome/browser/pdf_unsupported_feature.h View 1 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/browser/pdf_unsupported_feature.cc View 1 1 chunk +0 lines, -407 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/safe_browsing/safe_browsing_tab_observer.h View 1 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/safe_browsing_tab_observer.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/ui/alternate_error_tab_observer.h View 1 1 chunk +51 lines, -0 lines 2 comments Download
A chrome/browser/ui/alternate_error_tab_observer.cc View 1 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 7 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/hung_renderer_controller.mm View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/constrained_window_tab_helper.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/fullscreen_controller.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 2 chunks +2 lines, -1 line 0 comments Download
A + chrome/browser/ui/pdf/pdf_browsertest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/ui/pdf/pdf_tab_observer.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/ui/pdf/pdf_tab_observer.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
A + chrome/browser/ui/pdf/pdf_unsupported_feature.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/snapshot_tab_helper.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/snapshot_tab_helper.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/tab_contents/core_tab_helper.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/tab_contents/core_tab_helper.cc View 1 1 chunk +114 lines, -0 lines 0 comments Download
A + chrome/browser/ui/tab_contents/core_tab_helper_delegate.h View 2 chunks +9 lines, -5 lines 0 comments Download
A + chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 1 14 chunks +19 lines, -70 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 8 chunks +20 lines, -218 lines 0 comments Download
D chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/hung_renderer_view.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/base_tab.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/hung_renderer_dialog.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 7 chunks +16 lines, -6 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Avi (use Gerrit)
Trybot runs for this patch: http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/6672 http://build.chromium.org/p/tryserver.chromium/builders/linux_view/builds/1067 http://build.chromium.org/p/tryserver.chromium/builders/linux_chromeos/builds/2327 http://build.chromium.org/p/tryserver.chromium/builders/win/builds/7124 http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/6781
9 years ago (2011-12-07 23:01:15 UTC) #1
Jói
http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h File chrome/browser/ui/tab_contents/core_tab_helper.h (right): http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h#newcode19 chrome/browser/ui/tab_contents/core_tab_helper.h:19: class CoreTabHelper : public TabContentsObserver, Both the name of ...
9 years ago (2011-12-08 11:23:37 UTC) #2
Avi (use Gerrit)
http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h File chrome/browser/ui/tab_contents/core_tab_helper.h (right): http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h#newcode19 chrome/browser/ui/tab_contents/core_tab_helper.h:19: class CoreTabHelper : public TabContentsObserver, I know. Right now, ...
9 years ago (2011-12-08 15:27:38 UTC) #3
Jói
LGTM http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h File chrome/browser/ui/tab_contents/core_tab_helper.h (right): http://codereview.chromium.org/8865004/diff/1/chrome/browser/ui/tab_contents/core_tab_helper.h#newcode19 chrome/browser/ui/tab_contents/core_tab_helper.h:19: class CoreTabHelper : public TabContentsObserver, On 2011/12/08 15:27:38, ...
9 years ago (2011-12-08 15:31:51 UTC) #4
Avi (use Gerrit)
Proposed: CoreTabHelper: GetDefaultTitle and GetStatusText SnapshotTabHelper: CaptureSnapshot and the snapshot message handling FullscreenTabHelper: ExitFullscreenMode (where ...
9 years ago (2011-12-08 15:58:12 UTC) #5
Jói
Avi, that sounds fantastic. Cheers, Jói On Thu, Dec 8, 2011 at 3:58 PM, <avi@chromium.org> ...
9 years ago (2011-12-08 16:00:55 UTC) #6
Avi (use Gerrit)
Done; ptal. (Can't stick around to see the results of the trybots but they seem ...
9 years ago (2011-12-08 22:16:48 UTC) #7
Jói
LGTM Very cool! http://codereview.chromium.org/8865004/diff/6001/chrome/browser/ui/alternate_error_tab_observer.h File chrome/browser/ui/alternate_error_tab_observer.h (right): http://codereview.chromium.org/8865004/diff/6001/chrome/browser/ui/alternate_error_tab_observer.h#newcode15 chrome/browser/ui/alternate_error_tab_observer.h:15: // Per-tab class to handle functionality ...
9 years ago (2011-12-09 12:36:47 UTC) #8
Avi (use Gerrit)
9 years ago (2011-12-09 16:12:11 UTC) #9
http://codereview.chromium.org/8865004/diff/6001/chrome/browser/ui/alternate_...
File chrome/browser/ui/alternate_error_tab_observer.h (right):

http://codereview.chromium.org/8865004/diff/6001/chrome/browser/ui/alternate_...
chrome/browser/ui/alternate_error_tab_observer.h:15: // Per-tab class to handle
functionality that is core to the operation of tabs.
On 2011/12/09 12:36:47, Jói wrote:
> I think this is copy-pasted from the original change, probably needs to be
> updated?

Indeed.

Powered by Google App Engine
This is Rietveld 408576698