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

Issue 1001003: Allow dynamic switching in and out of sidetabs mode. (Closed)

Created:
10 years, 9 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Allow dynamic switching in and out of sidetabs mode. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42156

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -59 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browser.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/browser_window.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/tab_menu_model.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model.h View 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model.cc View 2 chunks +21 lines, -2 lines 1 comment Download
M chrome/browser/views/frame/browser_frame.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/views/frame/browser_frame_gtk.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/browser_frame_gtk.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/views/frame/browser_frame_win.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/browser_frame_win.cc View 1 4 chunks +8 lines, -5 lines 1 comment Download
M chrome/browser/views/frame/browser_view.h View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 4 chunks +32 lines, -11 lines 0 comments Download
M chrome/browser/views/frame/browser_view_layout.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/views/frame/glass_browser_frame_view.cc View 5 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/views/tabs/browser_tab_strip_controller.h View 1 4 chunks +16 lines, -0 lines 1 comment Download
M chrome/browser/views/tabs/browser_tab_strip_controller.cc View 1 3 chunks +102 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/side_tab.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/side_tab.cc View 1 3 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/views/tabs/side_tab_strip.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/views/tabs/side_tab_strip.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/views/tabs/side_tab_strip_model.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/tab.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/tab.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/views/tabs/tab_strip.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/views/tabs/tab_strip.cc View 1 4 chunks +23 lines, -2 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Ben Goodger (Google)
10 years, 9 months ago (2010-03-19 00:11:20 UTC) #1
sky
10 years, 9 months ago (2010-03-19 16:13:59 UTC) #2
LGTM

http://codereview.chromium.org/1001003/diff/21001/22024
File chrome/browser/tabs/tab_strip_model.cc (right):

http://codereview.chromium.org/1001003/diff/21001/22024#newcode588
chrome/browser/tabs/tab_strip_model.cc:588: ContextMenuCommand command_id) const
{
nit: > 80

http://codereview.chromium.org/1001003/diff/21001/22015
File chrome/browser/views/frame/browser_frame_win.cc (right):

http://codereview.chromium.org/1001003/diff/21001/22015#newcode128
chrome/browser/views/frame/browser_frame_win.cc:128: GetRootView()->Layout();
Why do you need to layout twice? If you really do, could you add a comment as to
why.

http://codereview.chromium.org/1001003/diff/21001/22006
File chrome/browser/views/tabs/browser_tab_strip_controller.h (right):

http://codereview.chromium.org/1001003/diff/21001/22006#newcode62
chrome/browser/views/tabs/browser_tab_strip_controller.h:62: class
TabContextMenuContents;
move class definition before all fields.

http://codereview.chromium.org/1001003/diff/21001/22010
File chrome/browser/views/tabs/tab_strip.cc (right):

http://codereview.chromium.org/1001003/diff/21001/22010#newcode1281
chrome/browser/views/tabs/tab_strip.cc:1281: // TODO(beng): This "closing" state
should be stored in the model.
You sure? It's only the ui that knows about it. It would complicate the model to
hold onto the tab for a while after it's been deleted.

Powered by Google App Engine
This is Rietveld 408576698