Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e445aad9627bded4d2b38345a87824b6af03e88a..2b2fe277c193a75fb7c25e1cd900e0659259a41e 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
@@ -38,7 +38,6 @@ class SelectedKeywordDecoration;
class SeparatorDecoration;
class StarDecoration;
class ToolbarModel;
-class WebIntentsButtonDecoration;
class ZoomDecoration;
// A C++ bridge class that represents the location bar UI element to
@@ -70,9 +69,6 @@ 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;
@@ -207,10 +203,6 @@ class LocationBarViewMac : public LocationBar,
// tab contents state.
bool RefreshContentSettingsDecorations();
- // Updates visibility of the web intents button decoration based on the
- // current tab contents state.
- void RefreshWebIntentsButtonDecoration();
-
void ShowFirstRunBubbleInternal();
// Checks if the bookmark star should be enabled or not.
@@ -280,12 +272,6 @@ 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_;
Browser* browser_;

Powered by Google App Engine
This is Rietveld 408576698