Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
index 6c641e3de6b81c8f94e7d8aca92f6005f4106f76..d7104e1478bee69de925acdb75c71bb8f6993dca 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
@@ -24,6 +24,7 @@ |
class CommandUpdater; |
class ContentSettingDecoration; |
class EVBubbleDecoration; |
+class GeneratedCreditCardDecoration; |
class KeywordHintDecoration; |
class LocationBarDecoration; |
class LocationIconDecoration; |
@@ -104,6 +105,10 @@ class LocationBarViewMac : public LocationBar, |
// info bubble aims. |
NSPoint GetPageInfoBubblePoint() const; |
+ // Get the point in window coordinates in the "generated cc" icon at which the |
+ // corresponding info bubble aims. |
+ NSPoint GetGeneratedCreditCardBubblePoint() const; |
+ |
// When any image decorations change, call this to ensure everything is |
// redrawn and laid out if necessary. |
void OnDecorationsChanged(); |
@@ -229,6 +234,9 @@ class LocationBarViewMac : public LocationBar, |
// The voice search icon. |
scoped_ptr<MicSearchDecoration> mic_search_decoration_; |
+ // Generated CC hint decoration. |
+ scoped_ptr<GeneratedCreditCardDecoration> generated_credit_card_decoration_; |
+ |
Profile* profile_; |
Browser* browser_; |