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

Issue 229783002: linux_aura: Use system configuration for middle clicking the titlebar. (Closed)

Created:
6 years, 8 months ago by Elliot Glaysher
Modified:
6 years, 8 months ago
Reviewers:
Lei Zhang, sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org
Visibility:
Public.

Description

linux_aura: Use system configuration for middle clicking the titlebar. The action that is taken when the user middle clicks on non client area is configurable with gnome-tweak-tool. This allows users to disable any action on middle click, lower windows, minimize windows, or toggle the maximize state. Also renames GConfTitlebarListener to GConfListener, since it's now doing more than just checking maximize button order. BUG=132061 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262839

Patch Set 1 #

Total comments: 3

Patch Set 2 : thestig nits #

Total comments: 3

Patch Set 3 : sadrul nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -242 lines) Patch
A + chrome/browser/ui/libgtk2ui/gconf_listener.h View 1 4 chunks +14 lines, -9 lines 0 comments Download
A + chrome/browser/ui/libgtk2ui/gconf_listener.cc View 1 6 chunks +77 lines, -29 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.h View 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc View 1 chunk +0 lines, -139 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.h View 5 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 5 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/linux_ui/linux_ui.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_window_event_filter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_window_event_filter.cc View 1 2 4 chunks +30 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Elliot Glaysher
6 years, 8 months ago (2014-04-09 00:09:08 UTC) #1
Lei Zhang
https://codereview.chromium.org/229783002/diff/1/chrome/browser/ui/libgtk2ui/gconf_listener.cc File chrome/browser/ui/libgtk2ui/gconf_listener.cc (right): https://codereview.chromium.org/229783002/diff/1/chrome/browser/ui/libgtk2ui/gconf_listener.cc#newcode27 chrome/browser/ui/libgtk2ui/gconf_listener.cc:27: const char* kMiddleClickActionKey = These can be const char ...
6 years, 8 months ago (2014-04-09 00:47:45 UTC) #2
Elliot Glaysher
ptal
6 years, 8 months ago (2014-04-09 19:16:37 UTC) #3
Lei Zhang
lgtm
6 years, 8 months ago (2014-04-09 19:24:09 UTC) #4
Lei Zhang
The CQ bit was unchecked by thestig@chromium.org
6 years, 8 months ago (2014-04-09 19:24:13 UTC) #5
Lei Zhang
On 2014/04/09 19:24:13, Lei Zhang wrote: > The CQ bit was unchecked by mailto:thestig@chromium.org Was ...
6 years, 8 months ago (2014-04-09 19:24:47 UTC) #6
Elliot Glaysher
sadrul: ui owners review
6 years, 8 months ago (2014-04-09 19:29:18 UTC) #7
sadrul
LGTM with a couple of comments: https://codereview.chromium.org/229783002/diff/20001/ui/views/linux_ui/linux_ui.h File ui/views/linux_ui/linux_ui.h (right): https://codereview.chromium.org/229783002/diff/20001/ui/views/linux_ui/linux_ui.h#newcode50 ui/views/linux_ui/linux_ui.h:50: // a middle ...
6 years, 8 months ago (2014-04-09 19:37:37 UTC) #8
Elliot Glaysher
https://codereview.chromium.org/229783002/diff/20001/ui/views/widget/desktop_aura/x11_window_event_filter.cc File ui/views/widget/desktop_aura/x11_window_event_filter.cc (right): https://codereview.chromium.org/229783002/diff/20001/ui/views/widget/desktop_aura/x11_window_event_filter.cc#newcode127 ui/views/widget/desktop_aura/x11_window_event_filter.cc:127: ToggleMaximizedState(); On 2014/04/09 19:37:38, sadrul wrote: > Should you ...
6 years, 8 months ago (2014-04-09 20:22:40 UTC) #9
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 8 months ago (2014-04-09 20:22:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/229783002/40001
6 years, 8 months ago (2014-04-09 20:23:26 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 22:23:42 UTC) #12
Message was sent while issue was closed.
Change committed as 262839

Powered by Google App Engine
This is Rietveld 408576698