Index: ui/views/window/dialog_delegate.h |
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h |
index 59319c0b85c8925bd5f5d650e2a840975a9f2e78..5b7df299c74457c2ff4095a7123ae3f86a10718a 100644 |
--- a/ui/views/window/dialog_delegate.h |
+++ b/ui/views/window/dialog_delegate.h |
@@ -62,6 +62,11 @@ class VIEWS_EXPORT DialogDelegate : public WidgetDelegate { |
// false, native style padding is used. |
virtual bool UseChromeStyle() const; |
+ // Returns the margins for the bottom and sides of the buttons when chrome |
+ // style is in use. |
+ virtual void GetChromeStyleMargins(int* vertical_edge, |
+ int* horizontal_edge) const; |
+ |
// Returns whether accelerators are enabled on the button. This is invoked |
// when an accelerator is pressed, not at construction time. This |
// returns true. |