diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 04:04:35 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 04:04:35 +0000 |
commit | bbb59f8114092ee4761598966c5ec8c3fb1c9d68 (patch) | |
tree | 02fad3de3ce27f3832caadfd20a45b4c7f78aba8 /ui/oak | |
parent | 2ebf05cb61a5019289a982ba2fd2318debe0d02b (diff) | |
download | chromium_src-bbb59f8114092ee4761598966c5ec8c3fb1c9d68.zip chromium_src-bbb59f8114092ee4761598966c5ec8c3fb1c9d68.tar.gz chromium_src-bbb59f8114092ee4761598966c5ec8c3fb1c9d68.tar.bz2 |
Reland: Ash: Allow resize along 1 pixel edge inside window content
The mocks call for resize handles to function along a single pixel edge inside the window, overlapping the web content. Refactored aura::Window::set_hit_test_bounds_inset() into SetHitTestBoundsOverride() 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126539
Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=126544
Review URL: https://chromiumcodereview.appspot.com/9694012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/oak')
-rw-r--r-- | ui/oak/oak_aura_window_display.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/oak/oak_aura_window_display.cc b/ui/oak/oak_aura_window_display.cc index 153685a..afaeb70 100644 --- a/ui/oak/oak_aura_window_display.cc +++ b/ui/oak/oak_aura_window_display.cc @@ -33,7 +33,6 @@ ROW_TRANSIENTPARENT, ROW_USERDATA, ROW_STOPSEVENTPROPAGATION, ROW_IGNOREEVENTS, -ROW_HITTESTBOUNDSINSET, ROW_CANFOCUS, ROW_COUNT }; @@ -142,9 +141,6 @@ string16 OakAuraWindowDisplay::GetText(int row, int column_id) { case ROW_IGNOREEVENTS: return PropertyWithBool("Can receive events: ", window_->CanReceiveEvents()); - case ROW_HITTESTBOUNDSINSET: - return PropertyWithInteger("Hit-test bounds inset: ", - window_->hit_test_bounds_inset()); case ROW_CANFOCUS: return PropertyWithBool("Can Focus: ", window_->CanFocus()); default: |