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

Issue 8827011: Panel strip refactor cleanup. (Closed)

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

Description

Panel strip refactor cleanup. * Cleanup test-only includes. * Move some logic from panels into panel strip. * Split DragPanels test into three tests. * SetExpansionState on panel to move in/out of overflow. * Added API to panel/native_panel to control whether app icon is visible. BUG=106227 TEST=Panel*Test.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113691

Patch Set 1 #

Patch Set 2 : Finish cleanup. #

Total comments: 2

Patch Set 3 : fix mac/linux compile #

Total comments: 23

Patch Set 4 : review feedback #

Total comments: 2

Patch Set 5 : SetMouseWatcherForTesting #

Patch Set 6 : Synced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -439 lines) Patch
M chrome/browser/ui/panels/base_panel_browser_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/native_panel.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 5 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 5 chunks +10 lines, -32 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 3 4 5 5 chunks +3 lines, -20 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view_browsertest.cc View 1 2 3 4 5 10 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 3 4 11 chunks +280 lines, -258 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.h View 1 2 3 4 4 chunks +9 lines, -24 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel_overflow_strip.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_overflow_strip.cc View 1 2 3 2 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/ui/panels/panel_strip.h View 1 2 3 3 chunks +7 lines, -26 lines 0 comments Download
M chrome/browser/ui/panels/panel_strip.cc View 1 2 3 10 chunks +64 lines, -42 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jennb
Not ready for review yet. Just sending this so you have an idea of where ...
9 years ago (2011-12-06 23:45:17 UTC) #1
jennb
Ready for review. http://codereview.chromium.org/8827011/diff/2001/chrome/browser/ui/panels/panel_browsertest.cc File chrome/browser/ui/panels/panel_browsertest.cc (right): http://codereview.chromium.org/8827011/diff/2001/chrome/browser/ui/panels/panel_browsertest.cc#newcode882 chrome/browser/ui/panels/panel_browsertest.cc:882: Oops. will delete this extra line. ...
9 years ago (2011-12-07 20:04:10 UTC) #2
jianli
Can you also add the logic to fix the problem that the newly created overflow ...
9 years ago (2011-12-07 22:13:26 UTC) #3
jennb
As discussed offline, draggable change postponed to separate patch. http://codereview.chromium.org/8827011/diff/5001/chrome/browser/ui/panels/panel.h File chrome/browser/ui/panels/panel.h (right): http://codereview.chromium.org/8827011/diff/5001/chrome/browser/ui/panels/panel.h#newcode281 chrome/browser/ui/panels/panel.h:281: ...
9 years ago (2011-12-07 23:35:40 UTC) #4
jianli
LGTM w/ a couple nits. http://codereview.chromium.org/8827011/diff/9002/chrome/browser/ui/panels/panel_browser_view.cc File chrome/browser/ui/panels/panel_browser_view.cc (right): http://codereview.chromium.org/8827011/diff/9002/chrome/browser/ui/panels/panel_browser_view.cc#newcode529 chrome/browser/ui/panels/panel_browser_view.cc:529: // Ignore long clicks. ...
9 years ago (2011-12-08 00:27:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/8827011/19001
9 years ago (2011-12-08 00:56:23 UTC) #6
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/panels/panel_browser_view.cc. While running patch -p1 --forward --force; patching file chrome/browser/ui/panels/panel_browser_view.cc ...
9 years ago (2011-12-08 02:23:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/8827011/24001
9 years ago (2011-12-08 20:26:17 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-08 23:24:39 UTC) #9
Change committed as 113691

Powered by Google App Engine
This is Rietveld 408576698