Index: views/widget/native_widget_delegate.h |
=================================================================== |
--- views/widget/native_widget_delegate.h (revision 88384) |
+++ views/widget/native_widget_delegate.h (working copy) |
@@ -24,6 +24,12 @@ |
public: |
virtual ~NativeWidgetDelegate() {} |
+ // Returns true if the window is modal. |
+ virtual bool IsModal() const = 0; |
+ |
+ // Returns true if the window is a dialog box. |
+ virtual bool IsDialogBox() const = 0; |
+ |
// Returns true if the window can be activated. |
virtual bool CanActivate() const = 0; |
@@ -38,7 +44,7 @@ |
virtual void OnNativeBlur(gfx::NativeView focused_view) = 0; |
// Called when the native widget is created. |
- virtual void OnNativeWidgetCreated() = 0; |
+ virtual void OnNativeWidgetCreated(const gfx::Rect& create_bounds) = 0; |
// Called just before the native widget is destroyed. This is the delegate's |
// last chance to do anything with the native widget handle. |