| Index: chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.h
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.h b/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.h
|
| index 7301018b288d4f610cd7416627eba725bf5ec0fc..802d76771a3d86195b48b0fd05f2518e14ceedb4 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.h
|
| @@ -20,6 +20,11 @@ class SaveCreditCardDecoration : public ImageDecoration {
|
| explicit SaveCreditCardDecoration(CommandUpdater* command_updater);
|
| ~SaveCreditCardDecoration() override;
|
|
|
| + // Set up the SaveCreditCardDecoration's icon to match the darkness of the
|
| + // location bar. This happens once the location bar has been added to the
|
| + // window so that we know the theme.
|
| + void SetIcon(bool locationBarIsDark);
|
| +
|
| // LocationBarDecoration implementation:
|
| bool AcceptsMousePress() override;
|
| bool OnMousePressed(NSRect frame, NSPoint location) override;
|
|
|