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

Issue 8477042: Move Sad Tab implementation out of the TabContentsViews. (Closed)

Created:
9 years, 1 month ago by Avi (use Gerrit)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, creis+watch_chromium.org, tburkard+watch_chromium.org, jam, brettw-cc_chromium.org, kkania, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, dominich+watch_chromium.org, robertshield, Paweł Hajdan Jr., ajwong+watch_chromium.org, darin-cc_chromium.org, James Su, mmenke
Visibility:
Public.

Description

Move Sad Tab implementation out of the TabContentsViews. BUG=103258 TEST=no change in sad tab behavior Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110086

Patch Set 1 #

Patch Set 2 : new approach #

Patch Set 3 : ready #

Patch Set 4 : rebase #

Patch Set 5 : missed a file #

Patch Set 6 : OVERRIDE saves my butt again #

Total comments: 6

Patch Set 7 : mac unit test #

Total comments: 2

Patch Set 8 : changes for jochen and jam #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -207 lines) Patch
M chrome/browser/automation/automation_tab_helper.h View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/automation/automation_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/infobars/infobar_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/infobars/infobar_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 2 7 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 2 7 chunks +15 lines, -39 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.h View 1 2 5 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.mm View 1 6 chunks +18 lines, -36 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/hung_renderer_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h View 1 2 3 4 5 6 7 2 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm View 1 2 3 4 5 6 7 2 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/sad_tab_controller_unittest.mm View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/sad_tab_observer.h View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/ui/sad_tab_observer.cc View 1 2 3 4 5 6 7 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/hung_renderer_view.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.h View 1 2 5 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 1 2 3 8 chunks +20 lines, -35 lines 0 comments Download
M chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents_observer.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents_observer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents_view.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download
M content/browser/tab_contents/tab_contents_view_win.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_view_win.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/test/test_tab_contents_view.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/test_tab_contents_view.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Avi (use Gerrit)
jochen-mac stuff elliot-gtk scott-views john-general, and can you answer my question on TCVWin?
9 years, 1 month ago (2011-11-13 23:30:55 UTC) #1
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8477042/diff/13001/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h File chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h (right): http://codereview.chromium.org/8477042/diff/13001/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h#newcode47 chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h:47: gfx::NativeView ViewOfSadTabController(SadTabController* sad_tab); maybe verb+noun would be better? GetViewOfSadTabController? ...
9 years, 1 month ago (2011-11-14 16:44:54 UTC) #2
Elliot Glaysher
gtk lgtm
9 years, 1 month ago (2011-11-14 18:29:33 UTC) #3
jam
very cool, lgtm http://codereview.chromium.org/8477042/diff/15002/chrome/browser/ui/sad_tab_observer.cc File chrome/browser/ui/sad_tab_observer.cc (right): http://codereview.chromium.org/8477042/diff/15002/chrome/browser/ui/sad_tab_observer.cc#newcode68 chrome/browser/ui/sad_tab_observer.cc:68: void SadTabObserver::ReleaseSadTab() { this function and ...
9 years, 1 month ago (2011-11-14 19:56:28 UTC) #4
Avi (use Gerrit)
On 2011/11/14 19:56:28, John Abd-El-Malek wrote: > perhaps :) I had to add this to ...
9 years, 1 month ago (2011-11-14 19:59:47 UTC) #5
Avi (use Gerrit)
http://codereview.chromium.org/8477042/diff/13001/chrome/browser/ui/sad_tab_observer.h File chrome/browser/ui/sad_tab_observer.h (right): http://codereview.chromium.org/8477042/diff/13001/chrome/browser/ui/sad_tab_observer.h#newcode59 chrome/browser/ui/sad_tab_observer.h:59: class ScopedPtrRelease { On 2011/11/14 16:44:54, jochen wrote: > ...
9 years, 1 month ago (2011-11-14 20:00:50 UTC) #6
Avi (use Gerrit)
addressed; ptal
9 years, 1 month ago (2011-11-14 20:01:11 UTC) #7
jam
On Mon, Nov 14, 2011 at 11:59 AM, <avi@chromium.org> wrote: > On 2011/11/14 19:56:28, John ...
9 years, 1 month ago (2011-11-14 20:06:35 UTC) #8
jochen (gone - plz use gerrit)
mac lgtm
9 years, 1 month ago (2011-11-14 20:08:08 UTC) #9
sky
9 years, 1 month ago (2011-11-14 22:17:41 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698