diff options
author | prasadt@chromium.org <prasadt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 17:47:41 +0000 |
---|---|---|
committer | prasadt@chromium.org <prasadt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 17:47:41 +0000 |
commit | 4c7284c68061f41b7ddc0611dd95819ec5e4c073 (patch) | |
tree | 93fd11eb35cc2c723711926a5095cd189b59138c /ui/ui.gyp | |
parent | 8fcd0ee58318edc4e96732ba87426f9c356abbf0 (diff) | |
download | chromium_src-4c7284c68061f41b7ddc0611dd95819ec5e4c073.zip chromium_src-4c7284c68061f41b7ddc0611dd95819ec5e4c073.tar.gz chromium_src-4c7284c68061f41b7ddc0611dd95819ec5e4c073.tar.bz2 |
Have panels respond to changes in work area on Linux. This includes switching taskbar to/from auto-hide as well as changes to screen resolution.
- Factored out the part of code that listens to X property changes from
ActiveWindowWatcherX into a separate class.
- Implemented a watcher for work area changes.
- Add hook-up for PanelManager to respond to the changes.
- This change also handles user switching between auto-hide vs non auto-hide mode of taskbar.
TEST=Manual. Create panels. Switch to auto-hide and see them move them move.
BUG=102719
Review URL: http://codereview.chromium.org/8595003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r-- | ui/ui.gyp | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -225,7 +225,13 @@ 'base/win/window_impl.h', 'base/x/active_window_watcher_x.cc', 'base/x/active_window_watcher_x.h', + 'base/x/active_window_watcher_x_observer.h', 'base/x/events_x.cc', + 'base/x/root_window_property_watcher_x.cc', + 'base/x/root_window_property_watcher_x.h', + 'base/x/work_area_watcher_x.cc', + 'base/x/work_area_watcher_x.h', + 'base/x/work_area_watcher_x_observer.h', 'base/x/x11_util.cc', 'base/x/x11_util.h', 'base/x/x11_util_internal.h', @@ -346,6 +352,12 @@ ['exclude', 'base/win/mouse_wheel_util.h'], ['exclude', 'base/x/active_window_watcher_x.cc'], ['exclude', 'base/x/active_window_watcher_x.h'], + ['exclude', 'base/x/active_window_watcher_x_observer.h'], + ['exclude', 'base/x/root_window_property_watcher_x.cc'], + ['exclude', 'base/x/root_window_property_watcher_x.h'], + ['exclude', 'base/x/work_area_watcher_x.cc'], + ['exclude', 'base/x/work_area_watcher_x.h'], + ['exclude', 'base/x/work_area_watcher_x_observer.h'], ], }, { # use_aura!=1 'sources!': [ @@ -542,12 +554,7 @@ 'sources!': [ 'base/keycodes/keyboard_code_conversion_x.cc', 'base/keycodes/keyboard_code_conversion_x.h', - 'base/x/active_window_watcher_x.cc', - 'base/x/active_window_watcher_x.h', - 'base/x/events_x.cc', - 'base/x/x11_util.cc', - 'base/x/x11_util.h', - 'base/x/x11_util_internal.h', + 'base/x/', ], }], ['chromeos==1', { |