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

Side by Side Diff: ui/views/widget/native_widget_private.h

Issue 2399993002: Remove (Native)Widget::StackBelow(). (Closed)
Patch Set: 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 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 // See method documentation in Widget. 171 // See method documentation in Widget.
172 virtual gfx::Rect GetWindowBoundsInScreen() const = 0; 172 virtual gfx::Rect GetWindowBoundsInScreen() const = 0;
173 virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0; 173 virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0;
174 virtual gfx::Rect GetRestoredBounds() const = 0; 174 virtual gfx::Rect GetRestoredBounds() const = 0;
175 virtual std::string GetWorkspace() const = 0; 175 virtual std::string GetWorkspace() const = 0;
176 virtual void SetBounds(const gfx::Rect& bounds) = 0; 176 virtual void SetBounds(const gfx::Rect& bounds) = 0;
177 virtual void SetSize(const gfx::Size& size) = 0; 177 virtual void SetSize(const gfx::Size& size) = 0;
178 virtual void StackAbove(gfx::NativeView native_view) = 0; 178 virtual void StackAbove(gfx::NativeView native_view) = 0;
179 virtual void StackAtTop() = 0; 179 virtual void StackAtTop() = 0;
180 virtual void StackBelow(gfx::NativeView native_view) = 0;
181 virtual void SetShape(std::unique_ptr<SkRegion> shape) = 0; 180 virtual void SetShape(std::unique_ptr<SkRegion> shape) = 0;
182 virtual void Close() = 0; 181 virtual void Close() = 0;
183 virtual void CloseNow() = 0; 182 virtual void CloseNow() = 0;
184 virtual void Show() = 0; 183 virtual void Show() = 0;
185 virtual void Hide() = 0; 184 virtual void Hide() = 0;
186 // Invoked if the initial show should maximize the window. |restored_bounds| 185 // Invoked if the initial show should maximize the window. |restored_bounds|
187 // is the bounds of the window when not maximized. 186 // is the bounds of the window when not maximized.
188 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; 187 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0;
189 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0; 188 virtual void ShowWithWindowState(ui::WindowShowState show_state) = 0;
190 virtual bool IsVisible() const = 0; 189 virtual bool IsVisible() const = 0;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 virtual std::string GetName() const = 0; 235 virtual std::string GetName() const = 0;
237 236
238 // Overridden from NativeWidget: 237 // Overridden from NativeWidget:
239 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override; 238 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override;
240 }; 239 };
241 240
242 } // namespace internal 241 } // namespace internal
243 } // namespace views 242 } // namespace views
244 243
245 #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