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

Unified Diff: ash/wm/immersive_context_ash.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 years, 7 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/wallpaper/wallpaper_widget_controller.cc ('k') | ash/wm/lock_action_handler_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/immersive_context_ash.cc
diff --git a/ash/wm/immersive_context_ash.cc b/ash/wm/immersive_context_ash.cc
index 7b28828c76a978e5fdc729c6a9c5fa48ebab46a8..0a844a8dea36357af0c7850cdd014044be071579 100644
--- a/ash/wm/immersive_context_ash.cc
+++ b/ash/wm/immersive_context_ash.cc
@@ -24,9 +24,8 @@ ImmersiveContextAsh::~ImmersiveContextAsh() {}
void ImmersiveContextAsh::InstallResizeHandleWindowTargeter(
ImmersiveFullscreenController* controller) {
- aura::Window* window = controller->widget()->GetNativeWindow();
- window->SetEventTargeter(
- base::MakeUnique<ResizeHandleWindowTargeter>(window, controller));
+ wm::InstallResizeHandleWindowTargeterForWindow(
+ controller->widget()->GetNativeWindow(), controller);
}
void ImmersiveContextAsh::OnEnteringOrExitingImmersive(
« no previous file with comments | « ash/wallpaper/wallpaper_widget_controller.cc ('k') | ash/wm/lock_action_handler_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698