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

Issue 8344061: content: Split off ChromeTabContentsViewGtk from TabContentsViewGtk. This new (Closed)

Created:
9 years, 2 months ago by Elliot Glaysher
Modified:
9 years, 1 month ago
Reviewers:
jam
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

content: Split off ChromeTabContentsViewGtk from TabContentsViewGtk. This new class contains almost all chrome specific details from TabContentsViewGtk, leaving TabContentsViewGtk as a pure content/ class (soon to be moved out of chrome/). Why subclass instead of composing? First, because the X vs ChromeX is fairly common already, but mostly because large chunks of the gtk ui code assume there's a single widget that can be switched in and out on tab showing and that this is TabContentsViewGtk::GetNativeView(). (This also means it is easy to address the other join points, like sad tabs or menus.) BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110236

Patch Set 1 #

Patch Set 2 : Push down context menus #

Patch Set 3 : Rebasing to ToT in prep for getting a delegate interface instead. #

Patch Set 4 : Redo as interface instead of inheritance. #

Patch Set 5 : Rebase to ToT for trys. #

Patch Set 6 : More bad merge #

Patch Set 7 : Rebase now that Avi's SadTab patch is in. #

Patch Set 8 : Rebase again to fix comment I committed that was backwards. #

Total comments: 1

Patch Set 9 : Remove explicit #

Patch Set 10 : Fix clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -190 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc View 1 2 3 4 5 6 7 1 chunk +156 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 2 3 4 5 6 4 chunks +39 lines, -46 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 2 3 4 5 6 11 chunks +63 lines, -136 lines 0 comments Download
A chrome/browser/tab_contents/tab_contents_view_wrapper_gtk.h View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/constrained_window_gtk.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/constrained_window_gtk.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 2 3 4 5 6 7 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Elliot Glaysher
I'm asking for a desgin review instead of a code review at this early stage. ...
9 years, 2 months ago (2011-10-19 21:26:53 UTC) #1
jam
On 2011/10/19 21:26:53, Elliot Glaysher wrote: > I'm asking for a desgin review instead of ...
9 years, 2 months ago (2011-10-20 00:18:07 UTC) #2
Elliot Glaysher
Now that avi's SadTab patch is in, here's a reworking of this patch that uses ...
9 years, 1 month ago (2011-11-15 19:09:45 UTC) #3
jam
lgtm not sure what to do about right click menu stuff, I dont have this ...
9 years, 1 month ago (2011-11-15 21:40:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/8344061/13015
9 years, 1 month ago (2011-11-15 22:30:38 UTC) #5
commit-bot: I haz the power
Try job failure for 8344061-13015 (retry) on linux_clang for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-15 23:56:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/8344061/17001
9 years, 1 month ago (2011-11-16 00:08:29 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-16 01:24:47 UTC) #8
Change committed as 110236

Powered by Google App Engine
This is Rietveld 408576698