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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_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 (cleaning remaining wm_window.h in c/b/ui) 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
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 5c7f6c14d6b88bd7db9885d41938e9c4851f4cf1..360f4fab19135603ed1fc4bd2750d005cfa56092 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -12,7 +12,7 @@
#include "ash/frame/frame_border_hit_test.h"
#include "ash/frame/header_painter_util.h"
#include "ash/shell.h"
-#include "ash/wm_window.h"
+#include "ash/wm/window_util.h"
#include "base/feature_list.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profiles_state.h"
@@ -75,8 +75,8 @@ BrowserNonClientFrameViewAsh::BrowserNonClientFrameViewAsh(
: BrowserNonClientFrameView(frame, browser_view),
caption_button_container_(nullptr),
window_icon_(nullptr) {
- ash::WmWindow::Get(frame->GetNativeWindow())
- ->InstallResizeHandleWindowTargeter(nullptr);
+ ash::wm::InstallResizeHandleWindowTargeterForWindow(frame->GetNativeWindow(),
+ nullptr);
ash::Shell::Get()->AddShellObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698