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

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

Issue 405873003: Changed AppListDialogContentsView to extend DialogDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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_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.

Powered by Google App Engine
This is Rietveld 408576698