Index: ash/wm/window_util.cc |
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc |
index b1bba1c18985b55c02017a6152b8cf1b1833c3af..b5be29db4a3da2e0c6641e660dc7c8cf3740a2d4 100644 |
--- a/ash/wm/window_util.cc |
+++ b/ash/wm/window_util.cc |
@@ -12,6 +12,7 @@ |
#include "ash/shelf/shelf.h" |
#include "ash/shell.h" |
#include "ash/shell_port.h" |
+#include "ash/wm/resize_handle_window_targeter.h" |
#include "ash/wm/widget_finder.h" |
#include "ash/wm/window_properties.h" |
#include "ash/wm/window_state.h" |
@@ -197,5 +198,12 @@ void RemoveLimitedPreTargetHandlerForWindow(ui::EventHandler* handler, |
window->RemovePreTargetHandler(handler); |
} |
+void InstallResizeHandleWindowTargeterForWindow( |
+ aura::Window* window, |
+ ImmersiveFullscreenController* immersive_fullscreen_controller) { |
+ window->SetEventTargeter(base::MakeUnique<ResizeHandleWindowTargeter>( |
+ window, immersive_fullscreen_controller)); |
+} |
+ |
} // namespace wm |
} // namespace ash |