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

Side by Side Diff: ui/views/widget/native_widget_mac.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_aura.cc ('k') | ui/views/widget/native_widget_mac.mm » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MAC_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/views/widget/native_widget_private.h" 10 #include "ui/views/widget/native_widget_private.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void Hide() override; 91 void Hide() override;
92 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; 92 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
93 void ShowWithWindowState(ui::WindowShowState state) override; 93 void ShowWithWindowState(ui::WindowShowState state) override;
94 bool IsVisible() const override; 94 bool IsVisible() const override;
95 void Activate() override; 95 void Activate() override;
96 void Deactivate() override; 96 void Deactivate() override;
97 bool IsActive() const override; 97 bool IsActive() const override;
98 void SetAlwaysOnTop(bool always_on_top) override; 98 void SetAlwaysOnTop(bool always_on_top) override;
99 bool IsAlwaysOnTop() const override; 99 bool IsAlwaysOnTop() const override;
100 void SetVisibleOnAllWorkspaces(bool always_visible) override; 100 void SetVisibleOnAllWorkspaces(bool always_visible) override;
101 bool IsVisibleOnAllWorkspaces() const override;
101 void Maximize() override; 102 void Maximize() override;
102 void Minimize() override; 103 void Minimize() override;
103 bool IsMaximized() const override; 104 bool IsMaximized() const override;
104 bool IsMinimized() const override; 105 bool IsMinimized() const override;
105 void Restore() override; 106 void Restore() override;
106 void SetFullscreen(bool fullscreen) override; 107 void SetFullscreen(bool fullscreen) override;
107 bool IsFullscreen() const override; 108 bool IsFullscreen() const override;
108 void SetOpacity(float opacity) override; 109 void SetOpacity(float opacity) override;
109 void FlashFrame(bool flash_frame) override; 110 void FlashFrame(bool flash_frame) override;
110 void RunShellDrag(View* view, 111 void RunShellDrag(View* view,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 153
153 // Internal name. 154 // Internal name.
154 std::string name_; 155 std::string name_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); 157 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
157 }; 158 };
158 159
159 } // namespace views 160 } // namespace views
160 161
161 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 162 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698