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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host.h

Issue 2158653002: Linux UI: Add IsVisibleOnAllWorkspaces() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more mac impls Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ui/aura/window_event_dispatcher.h" 10 #include "ui/aura/window_event_dispatcher.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void Restore() = 0; 106 virtual void Restore() = 0;
107 virtual bool IsMaximized() const = 0; 107 virtual bool IsMaximized() const = 0;
108 virtual bool IsMinimized() const = 0; 108 virtual bool IsMinimized() const = 0;
109 109
110 virtual bool HasCapture() const = 0; 110 virtual bool HasCapture() const = 0;
111 111
112 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 112 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
113 virtual bool IsAlwaysOnTop() const = 0; 113 virtual bool IsAlwaysOnTop() const = 0;
114 114
115 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 115 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
116 virtual bool IsVisibleOnAllWorkspaces() const = 0;
116 117
117 // Returns true if the title changed. 118 // Returns true if the title changed.
118 virtual bool SetWindowTitle(const base::string16& title) = 0; 119 virtual bool SetWindowTitle(const base::string16& title) = 0;
119 120
120 virtual void ClearNativeFocus() = 0; 121 virtual void ClearNativeFocus() = 0;
121 122
122 virtual Widget::MoveLoopResult RunMoveLoop( 123 virtual Widget::MoveLoopResult RunMoveLoop(
123 const gfx::Vector2d& drag_offset, 124 const gfx::Vector2d& drag_offset,
124 Widget::MoveLoopSource source, 125 Widget::MoveLoopSource source,
125 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; 126 Widget::MoveLoopEscapeBehavior escape_behavior) = 0;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // Returns true if the Widget supports translucency. 161 // Returns true if the Widget supports translucency.
161 virtual bool IsTranslucentWindowOpacitySupported() const = 0; 162 virtual bool IsTranslucentWindowOpacitySupported() const = 0;
162 163
163 // Called when the window's size constraints change. 164 // Called when the window's size constraints change.
164 virtual void SizeConstraintsChanged() = 0; 165 virtual void SizeConstraintsChanged() = 0;
165 }; 166 };
166 167
167 } // namespace views 168 } // namespace views
168 169
169 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 170 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698