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

Issue 10209037: Add key modifier to minimize/restore button click to minimize/restore-all panels for GTK (Closed)

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

Description

Add key modifier to minimize/restore button click to minimize/restore-all panels for GTK BUG=123176 TEST=existing tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134579

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use gtk_get_current_event #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc View 1 1 chunk +19 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jianli
Evan, could you please review one-line change to make Init() vritual in BrowserTitlebar? Jenn, could ...
8 years, 7 months ago (2012-04-27 23:12:17 UTC) #1
jennb
http://codereview.chromium.org/10209037/diff/1/chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc File chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc (right): http://codereview.chromium.org/10209037/diff/1/chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc#newcode32 chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc:32: void PanelBrowserTitlebarGtk::Init() { Don't need to override Init() in ...
8 years, 7 months ago (2012-04-27 23:38:39 UTC) #2
jennb
http://codereview.chromium.org/10209037/diff/1/chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc File chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc (right): http://codereview.chromium.org/10209037/diff/1/chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc#newcode37 chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc:37: if (minimize_button() && unminimize_button_.get()) { Or, since we connect ...
8 years, 7 months ago (2012-04-27 23:43:15 UTC) #3
jennb
Jian - you don't need to register a signal for mouse-release. Use the clicked signal. ...
8 years, 7 months ago (2012-04-28 03:28:16 UTC) #4
jianli
Changed to use gtk_get_current_event, as suggested. Since I don't need to change BrowserTitlebar, I do ...
8 years, 7 months ago (2012-04-30 17:40:35 UTC) #5
jennb
lgtm
8 years, 7 months ago (2012-04-30 18:06:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/10209037/6003
8 years, 7 months ago (2012-04-30 18:32:24 UTC) #7
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 20:08:50 UTC) #8
Change committed as 134579

Powered by Google App Engine
This is Rietveld 408576698