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

Issue 8772029: Reunite PanelStrip::AddPanel and its internals. (Closed)

Created:
9 years ago by jennb
Modified:
9 years ago
Reviewers:
jianli
CC:
chromium-reviews, jennb, jianli, Dmitry Titov, dcheng, prasadt
Visibility:
Public.

Description

Reunite PanelStrip::AddPanel and its internals. Was causing confusion with code within the file calling the helper functions directly. Also put back accidentally deleted line and re-enabled NoOverlapping test. BUG=None TEST=Panel*Test.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112742

Patch Set 1 #

Total comments: 6

Patch Set 2 : feedback changes #

Patch Set 3 : re-enable NoOverlapping test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -68 lines) Patch
M chrome/browser/ui/panels/panel.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_strip.h View 1 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/panels/panel_strip.cc View 1 4 chunks +54 lines, -60 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jennb
Here you go. This should resolve our confusion.
9 years ago (2011-12-02 01:27:26 UTC) #1
dcheng
http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc File chrome/browser/ui/panels/panel_strip.cc (right): http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc#newcode143 chrome/browser/ui/panels/panel_strip.cc:143: overflow_action_factory_.GetWeakPtr(), It may be better to remove the WeakPtrFactory ...
9 years ago (2011-12-02 01:29:20 UTC) #2
jianli
http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc File chrome/browser/ui/panels/panel_strip.cc (right): http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc#newcode87 chrome/browser/ui/panels/panel_strip.cc:87: DCHECK_EQ(Panel::EXPANDED, panel->expansion_state()); This might not be true if |panel| ...
9 years ago (2011-12-02 01:56:38 UTC) #3
jennb
Also put back the accidentally deleted call to OnPanelRemoved(). http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc File chrome/browser/ui/panels/panel_strip.cc (right): http://codereview.chromium.org/8772029/diff/1/chrome/browser/ui/panels/panel_strip.cc#newcode87 chrome/browser/ui/panels/panel_strip.cc:87: ...
9 years ago (2011-12-02 02:20:37 UTC) #4
jennb
Also re-enable NoOverlapping test in this patch.
9 years ago (2011-12-02 18:23:55 UTC) #5
jianli
lgtm
9 years ago (2011-12-02 18:26:10 UTC) #6
jennb
9 years ago (2011-12-02 21:19:35 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698