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

Side by Side Diff: ui/views/widget/native_widget_private.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
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_NATIVE_WIDGET_PRIVATE_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // is the bounds of the window when not maximized. 186 // is the bounds of the window when not maximized.
187 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; 187 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0;
188 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0; 188 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0;
189 virtual bool IsVisible() const = 0; 189 virtual bool IsVisible() const = 0;
190 virtual void Activate() = 0; 190 virtual void Activate() = 0;
191 virtual void Deactivate() = 0; 191 virtual void Deactivate() = 0;
192 virtual bool IsActive() const = 0; 192 virtual bool IsActive() const = 0;
193 virtual void SetAlwaysOnTop(bool always_on_top) = 0; 193 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
194 virtual bool IsAlwaysOnTop() const = 0; 194 virtual bool IsAlwaysOnTop() const = 0;
195 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 195 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
196 virtual bool IsVisibleOnAllWorkspaces() const = 0;
196 virtual void Maximize() = 0; 197 virtual void Maximize() = 0;
197 virtual void Minimize() = 0; 198 virtual void Minimize() = 0;
198 virtual bool IsMaximized() const = 0; 199 virtual bool IsMaximized() const = 0;
199 virtual bool IsMinimized() const = 0; 200 virtual bool IsMinimized() const = 0;
200 virtual void Restore() = 0; 201 virtual void Restore() = 0;
201 virtual void SetFullscreen(bool fullscreen) = 0; 202 virtual void SetFullscreen(bool fullscreen) = 0;
202 virtual bool IsFullscreen() const = 0; 203 virtual bool IsFullscreen() const = 0;
203 virtual void SetOpacity(float opacity) = 0; 204 virtual void SetOpacity(float opacity) = 0;
204 virtual void FlashFrame(bool flash) = 0; 205 virtual void FlashFrame(bool flash) = 0;
205 virtual void RunShellDrag(View* view, 206 virtual void RunShellDrag(View* view,
(...skipping 28 matching lines...) Expand all
234 virtual std::string GetName() const = 0; 235 virtual std::string GetName() const = 0;
235 236
236 // Overridden from NativeWidget: 237 // Overridden from NativeWidget:
237 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override; 238 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override;
238 }; 239 };
239 240
240 } // namespace internal 241 } // namespace internal
241 } // namespace views 242 } // namespace views
242 243
243 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 244 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698