| Index: ui/views/style/mac/dialog_button_border_mac.h
|
| diff --git a/ui/views/style/mac/dialog_button_border_mac.h b/ui/views/style/mac/dialog_button_border_mac.h
|
| index a45bc48e574c3faa9778e04a4144c395c577dd23..b10b09a9b7ee76a5a8db1186e46c4aa4ad0638ff 100644
|
| --- a/ui/views/style/mac/dialog_button_border_mac.h
|
| +++ b/ui/views/style/mac/dialog_button_border_mac.h
|
| @@ -11,6 +11,8 @@
|
|
|
| namespace views {
|
|
|
| +class LabelButton;
|
| +
|
| // Skia port of the default button style used for dialogs on Chrome Mac.
|
| // Originally provided by ConstrainedWindowButton, which used Quartz-backed
|
| // Cocoa drawing routines.
|
| @@ -19,6 +21,9 @@ class VIEWS_EXPORT DialogButtonBorderMac : public LabelButtonBorder {
|
| DialogButtonBorderMac();
|
| ~DialogButtonBorderMac() override;
|
|
|
| + // Whether the given |button| should get a highlighted background.
|
| + static bool ShouldRenderDefault(const LabelButton& button);
|
| +
|
| // views::Border:
|
| void Paint(const View& view, gfx::Canvas* canvas) override;
|
| gfx::Size GetMinimumSize() const override;
|
|
|