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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 9443007: Add Chrome To Mobile Service and Views Page Action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bail on empty GetOAuth2LoginRefreshToken(). Created 8 years, 9 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 94777a274bdf0ab48da61fa8b26a15a6ebd0bcc2..4781c21258d9bd41d64b95fa26bc7b693de020a9 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -33,6 +33,7 @@
#endif
class Browser;
+class ChromeToMobileView;
class ContentSettingImageView;
class EVBubbleView;
class ExtensionAction;
@@ -152,6 +153,9 @@ class LocationBarView : public LocationBar,
// Shows the bookmark bubble.
void ShowStarBubble(const GURL& url, bool newly_bookmarked);
+ // Shows the Chrome To Mobile bubble.
+ void ShowChromeToMobileBubble();
+
// Returns the screen coordinates of the location entry (where the URL text
// appears, not where the icons are shown).
gfx::Point GetLocationEntryOrigin() const;
@@ -409,6 +413,9 @@ class LocationBarView : public LocationBar,
// The star.
StarView* star_view_;
+ // The Chrome To Mobile page action icon view.
+ ChromeToMobileView* chrome_to_mobile_view_;
+
// The mode that dictates how the bar shows.
Mode mode_;

Powered by Google App Engine
This is Rietveld 408576698