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

Issue 2824044: Implement App Tabs for GTK (Closed)

Created:
10 years, 5 months ago by rafaelw
Modified:
9 years, 7 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, ben+cc_chromium.org, brettw-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Implement App Tabs for GTK BUG=45540 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51478

Patch Set 1 #

Patch Set 2 : pre review #

Total comments: 4

Patch Set 3 : cr changes #

Total comments: 6

Patch Set 4 : more cr changes #

Patch Set 5 : undo changes to GetTabHOffset #

Patch Set 6 : removed GetNanoTabCount from views/gtk #

Patch Set 7 : one more spacing change #

Total comments: 1

Patch Set 8 : last cr change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -80 lines) Patch
M chrome/browser/gtk/tabs/dragged_tab_gtk.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/gtk/tabs/tab_gtk.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_gtk.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/tabs/tab_renderer_gtk.h View 1 6 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/gtk/tabs/tab_renderer_gtk.cc View 1 8 chunks +101 lines, -34 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_strip_gtk.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/views/tabs/tab_strip.h View 4 5 3 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/views/tabs/tab_strip.cc View 4 5 6 7 chunks +3 lines, -28 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rafaelw
erg, please review. sky, fyi -- in case you want to skim and gut check ...
10 years, 5 months ago (2010-07-01 01:27:40 UTC) #1
sky
I thought we were getting rid of nano tabs?
10 years, 5 months ago (2010-07-01 16:13:22 UTC) #2
rafaelw1
+aa I don't think so, Aaron? On Thu, Jul 1, 2010 at 9:13 AM, <sky@chromium.org> ...
10 years, 5 months ago (2010-07-01 16:27:00 UTC) #3
sky
I thought Glen mentioned this the other day, but perhaps it's not a final decision? ...
10 years, 5 months ago (2010-07-01 16:33:06 UTC) #4
Elliot Glaysher
The code LGTM, but you might want to wait to find out if this should ...
10 years, 5 months ago (2010-07-01 16:48:55 UTC) #5
sky
http://codereview.chromium.org/2824044/diff/2001/3004 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/2824044/diff/2001/3004#newcode863 chrome/browser/gtk/tabs/tab_renderer_gtk.cc:863: int favIconHeightOffset = data_.app ? -2 : 0; Can't ...
10 years, 5 months ago (2010-07-01 16:59:03 UTC) #6
glen
It's not a final decision - there's still plenty of arguing. The current state is: ...
10 years, 5 months ago (2010-07-01 17:01:40 UTC) #7
rafaelw
http://codereview.chromium.org/2824044/diff/2001/3004 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/2824044/diff/2001/3004#newcode863 chrome/browser/gtk/tabs/tab_renderer_gtk.cc:863: int favIconHeightOffset = data_.app ? -2 : 0; On ...
10 years, 5 months ago (2010-07-01 18:54:41 UTC) #8
sky
http://codereview.chromium.org/2824044/diff/13001/10007 File chrome/browser/gtk/tabs/tab_strip_gtk.cc (right): http://codereview.chromium.org/2824044/diff/13001/10007#newcode1239 chrome/browser/gtk/tabs/tab_strip_gtk.cc:1239: else if (!tab_data_[i].tab->app()) app tabs are always considered mini, ...
10 years, 5 months ago (2010-07-01 19:25:50 UTC) #9
rafaelw
Ok, PTAL. Sorry for all the snapshots. http://codereview.chromium.org/2824044/diff/13001/10007 File chrome/browser/gtk/tabs/tab_strip_gtk.cc (right): http://codereview.chromium.org/2824044/diff/13001/10007#newcode1239 chrome/browser/gtk/tabs/tab_strip_gtk.cc:1239: else if ...
10 years, 5 months ago (2010-07-01 22:37:52 UTC) #10
sky
10 years, 5 months ago (2010-07-01 22:40:47 UTC) #11
LGTM

http://codereview.chromium.org/2824044/diff/24001/25006
File chrome/browser/gtk/tabs/tab_strip_gtk.cc (right):

http://codereview.chromium.org/2824044/diff/24001/25006#newcode964
chrome/browser/gtk/tabs/tab_strip_gtk.cc:964: model_->IsAppTab(index), false);
nit: align with ( on previous line

Powered by Google App Engine
This is Rietveld 408576698