| 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..7275dee2be0dc7f672db45d0472833e538a01bc8 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,10 @@ class SaveCreditCardDecoration : public ImageDecoration {
|
| explicit SaveCreditCardDecoration(CommandUpdater* command_updater);
|
| ~SaveCreditCardDecoration() override;
|
|
|
| + // Sets up the SaveCreditCardDecoration's icon, which can't be set without
|
| + // knowing the window's theme.
|
| + void SetIcon(bool locationBarIsDark);
|
| +
|
| // LocationBarDecoration implementation:
|
| bool AcceptsMousePress() override;
|
| bool OnMousePressed(NSRect frame, NSPoint location) override;
|
| @@ -30,6 +34,9 @@ class SaveCreditCardDecoration : public ImageDecoration {
|
| // For showing the save credit card bubble.
|
| CommandUpdater* command_updater_; // Weak, owned by Browser.
|
|
|
| + // true if the SaveCreditCardDecoration's icon has been initialized.
|
| + bool icon_initialized_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SaveCreditCardDecoration);
|
| };
|
|
|
|
|