Index: ash/wm_window.cc |
diff --git a/ash/wm_window.cc b/ash/wm_window.cc |
index 256a1ab55e97210fc8252259d5d11a053f09d82a..07feeec53b98b787169a73f2372bbcc986885f2e 100644 |
--- a/ash/wm_window.cc |
+++ b/ash/wm_window.cc |
@@ -97,13 +97,6 @@ const aura::Window* WmWindow::GetAuraWindow(const WmWindow* wm_window) { |
: nullptr; |
} |
-bool WmWindow::ShouldUseExtendedHitRegion() const { |
- const WmWindow* parent = Get(window_->parent()); |
- return parent && |
- static_cast<const WmWindow*>(parent) |
- ->children_use_extended_hit_region_; |
-} |
- |
void WmWindow::Destroy() { |
delete window_; |
// WARNING: this has been deleted. |
@@ -515,22 +508,6 @@ void WmWindow::SnapToPixelBoundaryIfNecessary() { |
wm::SnapWindowToPixelBoundary(window_); |
} |
-void WmWindow::SetChildrenUseExtendedHitRegion() { |
- children_use_extended_hit_region_ = true; |
- gfx::Insets mouse_extend(-kResizeOutsideBoundsSize, -kResizeOutsideBoundsSize, |
- -kResizeOutsideBoundsSize, |
- -kResizeOutsideBoundsSize); |
- gfx::Insets touch_extend = |
- mouse_extend.Scale(kResizeOutsideBoundsScaleForTouch); |
- // TODO: EasyResizeWindowTargeter makes it so children get events outside |
- // their bounds. This only works in mash when mash is providing the non-client |
- // frame. Mus needs to support an api for the WindowManager that enables |
- // events to be dispatched to windows outside the windows bounds that this |
- // function calls into. http://crbug.com/679056. |
- window_->SetEventTargeter(base::MakeUnique<::wm::EasyResizeWindowTargeter>( |
- window_, mouse_extend, touch_extend)); |
-} |
- |
void WmWindow::AddTransientWindowObserver(WmTransientWindowObserver* observer) { |
if (!added_transient_observer_) { |
added_transient_observer_ = true; |