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

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

Issue 9250029: Enable KeyboardOverlayDialog on aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support to create KeyboardOverlayDialog as a bordless dialog. Created 8 years, 11 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
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index f1b2d41e3c390a03b0a9b71bbbbfb4f40ea32ae0..b82a2f7b994f184178bca7c2920666626c323044 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -193,6 +193,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate,
gfx::NativeWindow parent,
const gfx::Rect& bounds);
+ static Widget* CreateFramelessWindowWithParentAndBounds(
+ WidgetDelegate* delegate,
+ gfx::NativeWindow parent,
+ const gfx::Rect& bounds);
// Enumerates all windows pertaining to us and notifies their
// view hierarchies that the locale has changed.
@@ -663,6 +667,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Sizes and positions the window just after it is created.
void SetInitialBounds(const gfx::Rect& bounds);
+ // Sizes and positions the frameless window just after it is created.
+ void SetInitialBoundsForFramelessWindow(const gfx::Rect& bounds);
+
// Returns the bounds and "show" state from the delegate. Returns true if
// the delegate wants to use a specified bounds.
bool GetSavedWindowPlacement(gfx::Rect* bounds,

Powered by Google App Engine
This is Rietveld 408576698