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

Issue 10260028: Update Panel mininimize/restore button on strip and expansion state change. (Closed)

Created:
8 years, 7 months ago by jennb
Modified:
8 years, 7 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, jennb, jianli, dcheng, Andrei
Visibility:
Public.

Description

Update Panel mininimize/restore button on strip and expansion state change. Previously code for each platform was doing it at draw/bounds change/layout. Also removed nearby code that was obsoleted by overflow strip removal. BUG=125039, 125054 TEST=minimize/restore panels and drag them to/from dock. verify buttons update. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135012

Patch Set 1 #

Patch Set 2 : Win changes #

Patch Set 3 : synced #

Total comments: 5

Patch Set 4 : feedback changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -110 lines) Patch
M chrome/browser/ui/panels/detached_panel_strip.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/docked_panel_strip.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/native_panel.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 3 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.cc View 1 2 3 4 chunks +33 lines, -49 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc View 1 2 1 chunk +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 3 2 chunks +5 lines, -19 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jennb
This accomplishes the goal of consolidating the button visibility changes. As for delaying restore button ...
8 years, 7 months ago (2012-05-02 02:38:29 UTC) #1
Dmitry Titov
http://codereview.chromium.org/10260028/diff/8001/chrome/browser/ui/panels/panel.cc File chrome/browser/ui/panels/panel.cc (right): http://codereview.chromium.org/10260028/diff/8001/chrome/browser/ui/panels/panel.cc#newcode172 chrome/browser/ui/panels/panel.cc:172: void Panel::UpdateTitlebarButtons() { Why not just keep the names ...
8 years, 7 months ago (2012-05-02 03:23:08 UTC) #2
jennb
Ready for another look. http://codereview.chromium.org/10260028/diff/8001/chrome/browser/ui/panels/panel.cc File chrome/browser/ui/panels/panel.cc (right): http://codereview.chromium.org/10260028/diff/8001/chrome/browser/ui/panels/panel.cc#newcode172 chrome/browser/ui/panels/panel.cc:172: void Panel::UpdateTitlebarButtons() { On 2012/05/02 ...
8 years, 7 months ago (2012-05-02 19:10:35 UTC) #3
Dmitry Titov
lgtm
8 years, 7 months ago (2012-05-02 20:29:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/10260028/14001
8 years, 7 months ago (2012-05-02 20:35:27 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-02 22:39:45 UTC) #6
Change committed as 135012

Powered by Google App Engine
This is Rietveld 408576698