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 7ef1a9541f120d0db74f89bade371401b5b05b24..e445aad9627bded4d2b38345a87824b6af03e88a 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 |
@@ -70,7 +70,9 @@ class LocationBarViewMac : public LocationBar, |
virtual void UpdateContentSettingsIcons() OVERRIDE; |
virtual void UpdatePageActions() OVERRIDE; |
virtual void InvalidatePageActions() OVERRIDE; |
+#if defined(ENABLE_WEB_INTENTS) |
virtual void UpdateWebIntentsButton() OVERRIDE; |
+#endif |
virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; |
virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
virtual void Revert() OVERRIDE; |
@@ -278,9 +280,11 @@ class LocationBarViewMac : public LocationBar, |
// Keyword hint decoration displayed on the right-hand side. |
scoped_ptr<KeywordHintDecoration> keyword_hint_decoration_; |
+#if defined(ENABLE_WEB_INTENTS) |
// A decoration that shows the web intents "use another service" button |
// on the right. |
scoped_ptr<WebIntentsButtonDecoration> web_intents_button_decoration_; |
+#endif |
Profile* profile_; |