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

Unified Diff: ui/views/widget/widget.h

Issue 38073004: Not moving a docked window when restoring a previously maximized window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not moving a docked window when restoring a previously maximized window (delegating IsDocked to non… Created 7 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 | « ui/views/widget/root_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 3ff89e45c26b1dafa69616be183ee0b39895b058..dd012fe8da68181bd450afcc49ea5d1a4ea99911 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -478,6 +478,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
void SetFullscreen(bool fullscreen);
bool IsFullscreen() const;
+ // Whether the window is docked (only possible on Ash).
+ bool IsDocked() const;
sky 2013/10/29 16:36:06 Ben is trying to keep ash specific state out of vi
varkha 2013/10/29 17:06:18 Not sure I follow. How can I not introduce somethi
varkha 2013/10/29 18:28:03 Done.
+
// Sets the opacity of the widget. This may allow widgets behind the widget
// in the Z-order to become visible, depending on the capabilities of the
// underlying windowing system.
« no previous file with comments | « ui/views/widget/root_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698