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

Unified Diff: ui/aura/window.h

Issue 133873004: aura: Remove Window::SetHitTestBoundsOverrideOuter() and related methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 630becbae7bd5beaebfc6b584deedf5549967aa6..e05559a6634ea56bec124df2a225bae873106d21 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -239,24 +239,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
void set_ignore_events(bool ignore_events) { ignore_events_ = ignore_events; }
bool ignore_events() const { return ignore_events_; }
- // Sets the window to grab hits for mouse and touch to an area extending
- // -|mouse_insets| and -|touch_insets| pixels outside its bounds. This can be
- // used to create an invisible non-client area, for example if your windows
- // have no visible frames but still need to have resize edges.
- void SetHitTestBoundsOverrideOuter(const gfx::Insets& mouse_insets,
- const gfx::Insets& touch_insets) {
- hit_test_bounds_override_outer_mouse_ = mouse_insets;
- hit_test_bounds_override_outer_touch_ = touch_insets;
- }
-
- gfx::Insets hit_test_bounds_override_outer_touch() const {
- return hit_test_bounds_override_outer_touch_;
- }
-
- gfx::Insets hit_test_bounds_override_outer_mouse() const {
- return hit_test_bounds_override_outer_mouse_;
- }
-
// Sets the window to grab hits for an area extending |insets| pixels inside
// its bounds (even if that inner region overlaps a child window). This can be
// used to create an invisible non-client area that overlaps the client area.
@@ -550,9 +532,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Makes the window pass all events through to any windows behind it.
bool ignore_events_;
- // See set_hit_test_outer_override().
- gfx::Insets hit_test_bounds_override_outer_mouse_;
- gfx::Insets hit_test_bounds_override_outer_touch_;
+ // See set_hit_test_bounds_override_inner().
gfx::Insets hit_test_bounds_override_inner_;
ObserverList<WindowObserver, true> observers_;
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698