diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 03:39:48 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 03:39:48 +0000 |
commit | 6918efd45cff878ba7934f3004ffc7344f5b9064 (patch) | |
tree | 54125e6e094192599a02e8437ed6eb9aec269a15 /ash/wm/shelf_layout_manager.h | |
parent | 8ae7bd6ff36483becd1cf7cb37ce5a698c60a251 (diff) | |
download | chromium_src-6918efd45cff878ba7934f3004ffc7344f5b9064.zip chromium_src-6918efd45cff878ba7934f3004ffc7344f5b9064.tar.gz chromium_src-6918efd45cff878ba7934f3004ffc7344f5b9064.tar.bz2 |
Revert 126539 - Ash: Allow resize along 1 pixel edge inside window content
Mocks call for resize handles to function along a single pixel edge inside the window, overlapping the web content. Use the aura::Window::set_hit_test_bounds_inset() functionality to make hover/click events along that border pass through to the non-client area of the window frames. This also allows windows to be resized when they are flush against the top/left/right edges of the screen.
BUG=117542
TEST=aura_shell_unittests ShelfLayoutManager, manually resize window from left/right/bottom/top edges
Review URL: http://codereview.chromium.org/9694012
TBR=jamescook@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9705011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/shelf_layout_manager.h')
-rw-r--r-- | ash/wm/shelf_layout_manager.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ash/wm/shelf_layout_manager.h b/ash/wm/shelf_layout_manager.h index 5c4b6dd..8d69cc6 100644 --- a/ash/wm/shelf_layout_manager.h +++ b/ash/wm/shelf_layout_manager.h @@ -30,14 +30,6 @@ namespace internal { class ASH_EXPORT ShelfLayoutManager : public aura::LayoutManager, public ui::ImplicitAnimationObserver { public: - // We reserve a small area at the bottom of the workspace area to ensure that - // the bottom-of-window resize handle can be hit. - // TODO(jamescook): Some day we may want the workspace area to be an even - // multiple of the size of the grid (currently 8 pixels), which will require - // removing this and finding a way for hover and click events to pass through - // the invisible parts of the launcher. - static const int kWorkspaceAreaBottomInset; - ShelfLayoutManager(views::Widget* launcher, views::Widget* status); virtual ~ShelfLayoutManager(); |