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

Issue 4319003: Replace TabContentsViewGtk with TabContentsViewViews as part of the ongoing (Closed)

Created:
10 years, 1 month ago by Alex Nicolaou
Modified:
9 years ago
Reviewers:
brettw, oshima, sky
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org, rjrkoege_chromium.org
Visibility:
Public.

Description

Replace TabContentsViewGtk with TabContentsViewViews as part of the ongoing effort to eliminate GTK for TOUCH_UI. BUG=none TEST=manually tested Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67291

Patch Set 1 #

Total comments: 42

Patch Set 2 : Addressed oshima and brettw's comments #

Patch Set 3 : Last patchset was missing canvas_direct2d.cc edit, fixed it and sent to try bots. #

Total comments: 21

Patch Set 4 : Applied all comments and dealt with the move from chrome/browser/views to chrome/browser/ui/views #

Total comments: 4

Patch Set 5 : Address final comments from reviewers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+564 lines, -24 lines) Patch
M chrome/browser/gtk/constrained_window_gtk.h View 1 2 3 4 4 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/gtk/constrained_window_gtk.cc View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_x.h View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/backing_store_x.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 2 3 4 8 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_container.cc View 4 5 chunks +38 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/tab_contents/tab_contents_view_views.h View 1 chunk +128 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 4 1 chunk +299 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 chunks +22 lines, -4 lines 0 comments Download
M gfx/canvas.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M gfx/canvas_direct2d.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gfx/canvas_direct2d.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M gfx/canvas_skia.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M gfx/canvas_skia.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Alex Nicolaou
Another CL in the style of RenderViewHostViewGtk -> RenderViewHostViewViews for touch. Oshima, Scott reviewed the ...
10 years, 1 month ago (2010-11-03 05:40:03 UTC) #1
brettw
Drive by http://codereview.chromium.org/4319003/diff/1/11 File gfx/canvas.h (right): http://codereview.chromium.org/4319003/diff/1/11#newcode104 gfx/canvas.h:104: #if defined(TOUCH_UI) I wouldn't bother with ifdefs ...
10 years, 1 month ago (2010-11-03 17:03:10 UTC) #2
Alex Nicolaou
Ah, I'd actually asked sky about this off-list. I am not wedded one way or ...
10 years, 1 month ago (2010-11-03 17:05:20 UTC) #3
Alex Nicolaou
[And to be 100% clear, sky didn't respond on this specific point] On Wednesday, November ...
10 years, 1 month ago (2010-11-03 17:08:28 UTC) #4
brettw
On Wed, Nov 3, 2010 at 10:04 AM, Alex Nicolaou <anicolao@chromium.org> wrote: > Ah, I'd ...
10 years, 1 month ago (2010-11-03 17:11:26 UTC) #5
Alex Nicolaou
I'll make it open to everyone then. alex On Wednesday, November 3, 2010, Brett Wilson ...
10 years, 1 month ago (2010-11-03 17:18:13 UTC) #6
oshima
I wish we have better suffix for touchui rather than views. we have have views/win, ...
10 years, 1 month ago (2010-11-03 18:01:44 UTC) #7
Alex Nicolaou
http://codereview.chromium.org/4319003/diff/1/5 File chrome/browser/renderer_host/backing_store_x.h (right): http://codereview.chromium.org/4319003/diff/1/5#newcode40 chrome/browser/renderer_host/backing_store_x.h:40: void XShowRect(int originx, int originy, const gfx::Rect& damage, On ...
10 years, 1 month ago (2010-11-05 04:33:07 UTC) #8
oshima
Scott, could you please see my comment/question about NativeTabContentsContainer? http://codereview.chromium.org/4319003/diff/1/7 File chrome/browser/views/tab_contents/tab_contents_container.cc (right): http://codereview.chromium.org/4319003/diff/1/7#newcode66 chrome/browser/views/tab_contents/tab_contents_container.cc:66: ...
10 years, 1 month ago (2010-11-08 20:59:38 UTC) #9
brettw
Few style nits, I don't have any other comments so don't wait for an LGTM ...
10 years, 1 month ago (2010-11-08 21:44:06 UTC) #10
Alex Nicolaou
Oshima/Brett: please see updates and let me know if the patch meets with your satisfaction. ...
10 years, 1 month ago (2010-11-12 04:05:00 UTC) #11
Alex Nicolaou
[-rjrkoege, +rjkroege] <blush> On Thu, Nov 11, 2010 at 8:05 PM, <anicolao@chromium.org> wrote: > Oshima/Brett: ...
10 years, 1 month ago (2010-11-12 04:07:59 UTC) #12
brettw
LGTM with these minor changes http://codereview.chromium.org/4319003/diff/32001/chrome/browser/gtk/constrained_window_gtk.h File chrome/browser/gtk/constrained_window_gtk.h (right): http://codereview.chromium.org/4319003/diff/32001/chrome/browser/gtk/constrained_window_gtk.h#newcode21 chrome/browser/gtk/constrained_window_gtk.h:21: typedef TabContentsViewViews TabContentsViewType; Can ...
10 years, 1 month ago (2010-11-12 21:55:51 UTC) #13
oshima
10 years, 1 month ago (2010-11-13 01:36:08 UTC) #14
LGTM

http://codereview.chromium.org/4319003/diff/32001/chrome/browser/gtk/constrai...
File chrome/browser/gtk/constrained_window_gtk.h (right):

http://codereview.chromium.org/4319003/diff/32001/chrome/browser/gtk/constrai...
chrome/browser/gtk/constrained_window_gtk.h:21: typedef TabContentsViewViews
TabContentsViewType;
On 2010/11/12 21:55:51, brettw wrote:
> Can you put this typedef inside the class so it's scoped. Otherwise, you have
> this weird typedef in the global scope. Normally we would put this at the top
of
> the public section.

agreed

http://codereview.chromium.org/4319003/diff/32001/chrome/chrome_browser.gypi
File chrome/chrome_browser.gypi (right):

http://codereview.chromium.org/4319003/diff/32001/chrome/chrome_browser.gypi#...
chrome/chrome_browser.gypi:3431:
'browser/ui/views/tab_contents/tab_contents_view_views.h',
replace tabs with space

Powered by Google App Engine
This is Rietveld 408576698