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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2391153002: Converts most of WorkspaceLayoutManager tests to use common code (Closed)
Patch Set: merge Created 4 years, 2 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/bridge/wm_window_mus.h ('k') | ash/mus/test/ash_test_impl_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index b52b740e9832d85ca16cd0b0bd2d2b23eb6bc34f..dfd334918526d537e7b4b709a3d58834ebd60412 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -247,11 +247,23 @@ bool WmWindowMus::IsBubble() {
}
ui::Layer* WmWindowMus::GetLayer() {
- // TODO(sky): this function should be nuked entirely.
+ // TODO: http://crbug.com/652877.
NOTIMPLEMENTED();
return widget_ ? widget_->GetLayer() : nullptr;
}
+bool WmWindowMus::GetLayerTargetVisibility() {
+ // TODO: http://crbug.com/652877.
+ NOTIMPLEMENTED();
+ return GetTargetVisibility();
+}
+
+bool WmWindowMus::GetLayerVisible() {
+ // TODO: http://crbug.com/652877.
+ NOTIMPLEMENTED();
+ return IsVisible();
+}
+
display::Display WmWindowMus::GetDisplayNearestWindow() {
// TODO(sky): deal with null rwc.
return GetRootWindowControllerMus()->GetDisplay();
@@ -740,6 +752,11 @@ void WmWindowMus::StackChildBelow(WmWindow* child, WmWindow* target) {
ui::mojom::OrderDirection::BELOW);
}
+void WmWindowMus::SetPinned(bool trusted) {
+ // http://crbug.com/622486.
+ NOTIMPLEMENTED();
+}
+
void WmWindowMus::SetAlwaysOnTop(bool value) {
mus::SetAlwaysOnTop(window_, value);
}
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/test/ash_test_impl_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698