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

Unified Diff: ui/views/views_delegate.h

Issue 2485083003: views: add layout delegates (Closed)
Patch Set: fix msvc compile Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/views/login_view.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 4ef9dd7b41539722d9b224af1f9f09bd2eb481bd..7d61c8c5730512391d2af4256ef530a23000a130 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -193,6 +193,13 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns a blocking pool task runner given a TaskRunnerType.
virtual scoped_refptr<base::TaskRunner> GetBlockingPoolTaskRunner();
+ // Returns the insets that should be applied around a DialogClientView.
+ virtual gfx::Insets GetDialogButtonInsets();
+
+ // Returns the spacing between a pair of related horizontal buttons, used for
+ // dialog layout.
+ virtual int GetDialogRelatedButtonHorizontalSpacing();
+
protected:
ViewsDelegate();
« no previous file with comments | « chrome/browser/ui/views/login_view.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698