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

Unified Diff: ui/aura/window.h

Issue 2852653004: Remove aura::Window::hit_test_bounds_override_inner_ (Closed)
Patch Set: . Created 3 years, 8 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/resize_shadow.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 c50ccd0d89f2fce2912dfd0b199094a11af4e47e..96fa4fe5c010acd2b31ecfc7535248c9bb9af823 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -27,7 +27,6 @@
#include "ui/events/event_target.h"
#include "ui/events/event_targeter.h"
#include "ui/events/gestures/gesture_types.h"
-#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/wm/public/window_types.h"
@@ -240,16 +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 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.
- void set_hit_test_bounds_override_inner(const gfx::Insets& insets) {
- hit_test_bounds_override_inner_ = insets;
- }
- gfx::Insets hit_test_bounds_override_inner() const {
- return hit_test_bounds_override_inner_;
- }
-
// Returns true if the |point_in_root| in root window's coordinate falls
// within this window's bounds. Returns false if the window is detached
// from root window.
@@ -482,9 +471,6 @@ 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_bounds_override_inner().
- gfx::Insets hit_test_bounds_override_inner_;
-
base::ObserverList<WindowObserver, true> observers_;
DISALLOW_COPY_AND_ASSIGN(Window);
« no previous file with comments | « ash/wm/resize_shadow.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698