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

Unified Diff: ui/views/views_delegate.h

Issue 2664073006: Implement ChromeViewsDelegate methods in terms of LayoutDelegate where possible. (Closed)
Patch Set: Now with correct type names 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/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 950bb102b0a7d924084312f684696b2480bc37df..cbe34562bbe7024cf47130da99a1ee8d8e0f998b 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -199,21 +199,21 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the insets that should be applied around a DialogClientView. Note
// that the top inset is used for the distance between the buttons and the
// DialogClientView's content view.
- virtual gfx::Insets GetDialogButtonInsets();
+ virtual gfx::Insets GetDialogButtonInsets() const;
// Returns the spacing between a pair of related horizontal buttons, used for
// dialog layout.
- virtual int GetDialogRelatedButtonHorizontalSpacing();
+ virtual int GetDialogRelatedButtonHorizontalSpacing() const;
// Returns the spacing between a pair of related vertical controls, used for
// dialog layout.
- virtual int GetDialogRelatedControlVerticalSpacing();
+ virtual int GetDialogRelatedControlVerticalSpacing() const;
// Returns the insets that should be applied around a dialog's frame view.
- virtual gfx::Insets GetDialogFrameViewInsets();
+ virtual gfx::Insets GetDialogFrameViewInsets() const;
// Returns the margins that should be applied around a bubble dialog.
- virtual gfx::Insets GetBubbleDialogMargins();
+ virtual gfx::Insets GetBubbleDialogMargins() const;
protected:
ViewsDelegate();

Powered by Google App Engine
This is Rietveld 408576698