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

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

Issue 1489843003: [WIP: Not for review] Simplify and unify widget/window show logic Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index b53bb483e6c1e6cf3767b34d9e11485e1150c208..61a0b415e5e05c6a193ad28f4f91c87366956fdb 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -859,6 +859,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
bool GetSavedWindowPlacement(gfx::Rect* bounds,
ui::WindowShowState* show_state);
+ void ShowWithCurrentState();
+
internal::NativeWidgetPrivate* native_widget_;
// If non-null, the native theme for this widget. Otherwise the native theme

Powered by Google App Engine
This is Rietveld 408576698