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

Unified Diff: ash/mus/frame/detached_title_area_renderer.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/mus/disconnected_app_handler.cc ('k') | ash/mus/top_level_window_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/frame/detached_title_area_renderer.cc
diff --git a/ash/mus/frame/detached_title_area_renderer.cc b/ash/mus/frame/detached_title_area_renderer.cc
index 7d153b5551c0fdc65b87c1b210350c573638a164..f0b500ff33a78ab9c90983446dfd72c8c3b1c6be 100644
--- a/ash/mus/frame/detached_title_area_renderer.cc
+++ b/ash/mus/frame/detached_title_area_renderer.cc
@@ -8,7 +8,6 @@
#include "ash/mus/property_util.h"
#include "ash/mus/window_manager.h"
#include "ash/wm/window_state.h"
-#include "ash/wm_window.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/transient_window_client.h"
#include "ui/aura/mus/property_converter.h"
@@ -53,7 +52,7 @@ void ConfigureCommonWidgetProperties(views::Widget* widget) {
// Default animations conflict with the reveal animation, so turn off the
// default animation.
window->SetProperty(aura::client::kAnimationsDisabledKey, true);
- WmWindow::Get(window)->GetWindowState()->set_ignored_by_shelf(true);
+ wm::GetWindowState(window)->set_ignored_by_shelf(true);
}
void CreateHeaderView(views::Widget* frame,
« no previous file with comments | « ash/mus/disconnected_app_handler.cc ('k') | ash/mus/top_level_window_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698