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

Unified Diff: ui/views/window/dialog_delegate.h

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: remove test friends Created 3 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/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 6a11e65bab68208995be4982a5df06165411a9b7..86028d7a90ac4977cb5c5dd6b76fdddc0b567233 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -58,6 +58,10 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
// If a custom padding should be used, returns true and populates |padding|.
virtual bool GetExtraViewPadding(int* padding);
+ // Returns true if the extra view should be grouped with the ok/cancel
+ // buttons, false if it should be aligned to the other edge.
+ virtual bool GroupExtraViewWithButtons() const;
+
// Override this function to display a footnote view below the buttons.
// Overrides may construct the view; this will only be called once per dialog.
virtual View* CreateFootnoteView();

Powered by Google App Engine
This is Rietveld 408576698