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

Issue 6012011: TabContentsViewViews should be used instead of TabContentsViewGtk for TOUCH_UI (Closed)

Created:
9 years, 12 months ago by varunjain
Modified:
9 years, 7 months ago
Reviewers:
sadrul, Alex Nicolaou, sky
CC:
chromium-reviews, brettw-cc_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

TabContentsViewViews should be used instead of TabContentsViewGtk for TOUCH_UI builds. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71745

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed #include order #

Patch Set 3 : Changed according to comments #

Patch Set 4 : missed a file in the last patch #

Total comments: 6

Patch Set 5 : un-inlined virtual methods #

Patch Set 6 : added mac implementation #

Patch Set 7 : fixed mac compile error #

Total comments: 2

Patch Set 8 : modified according to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
M chrome/browser/tab_contents/tab_contents_view.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.mm View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host_gtk.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_win.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_view_win.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
varunjain
9 years, 12 months ago (2010-12-29 20:52:54 UTC) #1
sadrul
LGTM (with nits). I think there is currently an effort of avoiding the ifdef'ed approach ...
9 years, 12 months ago (2010-12-29 21:02:47 UTC) #2
Alex Nicolaou
[+sky] LGTM though the #include does need to be moved below the others. I think ...
9 years, 11 months ago (2011-01-17 16:29:44 UTC) #3
varunjain
Another way that Alex suggested was to add GetBounds() in the TabContentsView interface itself so ...
9 years, 11 months ago (2011-01-17 18:09:14 UTC) #4
Alex Nicolaou
I assumed that approach got hung up and that was the reason for the long ...
9 years, 11 months ago (2011-01-17 19:01:16 UTC) #5
sadrul
On 2011/01/17 18:09:14, varunjain wrote: > Another way that Alex suggested was to add GetBounds() ...
9 years, 11 months ago (2011-01-17 19:13:53 UTC) #6
varunjain
On 2011/01/17 19:01:16, Alex Nicolaou wrote: > I assumed that approach got hung up and ...
9 years, 11 months ago (2011-01-17 20:07:21 UTC) #7
Alex Nicolaou
LGTM On Monday, January 17, 2011, <varunjain@chromium.org> wrote: > On 2011/01/17 19:01:16, Alex Nicolaou wrote: ...
9 years, 11 months ago (2011-01-17 20:41:19 UTC) #8
sky
LGTM with the following changes. -Scott http://codereview.chromium.org/6012011/diff/16002/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h File chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h (right): http://codereview.chromium.org/6012011/diff/16002/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h#newcode66 chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h:66: virtual void GetViewBounds(gfx::Rect* ...
9 years, 11 months ago (2011-01-18 17:19:48 UTC) #9
varunjain
Also included the new method in mac implementation. PTAL http://codereview.chromium.org/6012011/diff/16002/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h File chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h (right): http://codereview.chromium.org/6012011/diff/16002/chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h#newcode66 chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.h:66: ...
9 years, 11 months ago (2011-01-18 20:25:32 UTC) #10
sky
LGTM http://codereview.chromium.org/6012011/diff/9002/chrome/browser/tab_contents/tab_contents_view_mac.mm File chrome/browser/tab_contents/tab_contents_view_mac.mm (right): http://codereview.chromium.org/6012011/diff/9002/chrome/browser/tab_contents/tab_contents_view_mac.mm#newcode326 chrome/browser/tab_contents/tab_contents_view_mac.mm:326: NOTIMPLEMENTED(); Add a comment that this isn't used ...
9 years, 11 months ago (2011-01-19 01:43:38 UTC) #11
varunjain
9 years, 11 months ago (2011-01-19 01:50:44 UTC) #12
http://codereview.chromium.org/6012011/diff/9002/chrome/browser/tab_contents/...
File chrome/browser/tab_contents/tab_contents_view_mac.mm (right):

http://codereview.chromium.org/6012011/diff/9002/chrome/browser/tab_contents/...
chrome/browser/tab_contents/tab_contents_view_mac.mm:326: NOTIMPLEMENTED();
On 2011/01/19 01:43:38, sky wrote:
> Add a comment that this isn't used on mac.

Done.

Powered by Google App Engine
This is Rietveld 408576698