Index: ui/views/widget/widget_delegate.h |
diff --git a/ui/views/widget/widget_delegate.h b/ui/views/widget/widget_delegate.h |
index b9903096c14c6920a544afbf2270f78859bff4e2..9ec619e73ada1e06122e75b2ba157b7597ed52b6 100644 |
--- a/ui/views/widget/widget_delegate.h |
+++ b/ui/views/widget/widget_delegate.h |
@@ -65,6 +65,10 @@ class VIEWS_EXPORT WidgetDelegate { |
// ui::MODAL_TYPE_NONE (not modal). |
virtual ui::ModalType GetModalType() const; |
+ // Returns whether or not this widget is a Dialog box. Dialogs re-activate |
+ // their parent widget when closed. |
+ virtual bool IsDialogBox(); |
tapted
2014/07/21 00:34:07
nit: const
sashab
2014/07/21 03:36:21
Originally, it actually couldn't be const, because
|
+ |
virtual ui::AXRole GetAccessibleWindowRole() const; |
// Returns the title to be read with screen readers. |