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

Unified Diff: ash/common/wm_window.h

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/common/wm/fullscreen_window_finder.cc ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index a02cbf743d5aedbe69a52dc5c9e9c1f590620ea4..3871d2f01262bbedf8a3fff432a015187d2719a3 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -94,9 +94,12 @@ class ASH_EXPORT WmWindow {
virtual bool IsBubble() = 0;
- // TODO(sky): seems like this shouldn't be exposed.
virtual ui::Layer* GetLayer() = 0;
+ // TODO(sky): these are temporary until GetLayer() always returns non-null.
+ virtual bool GetLayerTargetVisibility() = 0;
+ virtual bool GetLayerVisible() = 0;
+
virtual display::Display GetDisplayNearestWindow() = 0;
virtual bool HasNonClientArea() = 0;
@@ -238,6 +241,9 @@ class ASH_EXPORT WmWindow {
virtual bool HasRestoreBounds() const = 0;
+ // See ScreenPinningController::SetPinnedWindow() for details.
+ virtual void SetPinned(bool trusted) = 0;
+
virtual void SetAlwaysOnTop(bool value) = 0;
virtual bool IsAlwaysOnTop() const = 0;
« no previous file with comments | « ash/common/wm/fullscreen_window_finder.cc ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698