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

Unified Diff: ash/common/wm_window.cc

Issue 2780943002: Enables ScreenPinningController for mash/mus (Closed)
Patch Set: local Created 3 years, 9 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/common/wm_window.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.cc
diff --git a/ash/common/wm_window.cc b/ash/common/wm_window.cc
index 988276006e0dc0eee1377b2f3d923170a2c6decb..38cab6ed1b541b679142a8e31ebc0f8e7b964d0f 100644
--- a/ash/common/wm_window.cc
+++ b/ash/common/wm_window.cc
@@ -578,16 +578,6 @@ void WmWindow::StackChildBelow(WmWindow* child, WmWindow* target) {
window_->StackChildBelow(GetAuraWindow(child), GetAuraWindow(target));
}
-void WmWindow::SetPinned(bool trusted) {
- if (WmShell::Get()->IsRunningInMash()) {
- // TODO: fix, see http://crbug.com/622486. With aura-mus pinning may just
- // work.
- NOTIMPLEMENTED();
- return;
- }
- wm::PinWindow(window_, trusted);
-}
-
void WmWindow::SetAlwaysOnTop(bool value) {
window_->SetProperty(aura::client::kAlwaysOnTopKey, value);
}
« no previous file with comments | « ash/common/wm_window.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698