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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.h

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: non-aura fix Created 8 years, 2 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/bookmarks/bookmark_bar_view.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
index ae3d568caafc494c42fb30e04832ff5eb65d5c6e..477e0e085afa7d0319a3b7f3d1dde6f07385b0fc 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
@@ -142,14 +142,16 @@ class BookmarkBarView : public DetachableToolbarView,
void StopThrobbing(bool immediate);
// Returns the tooltip text for the specified url and title. The returned
- // text is clipped to fit within the bounds of the monitor.
+ // text is clipped to fit within the bounds of the monitor. |context| is
+ // used to determine which gfx::Screen is used to retrieve bounds.
//
// Note that we adjust the direction of both the URL and the title based on
// the locale so that pure LTR strings are displayed properly in RTL locales.
static string16 CreateToolTipForURLAndTitle(const gfx::Point& screen_loc,
const GURL& url,
const string16& title,
- Profile* profile);
+ Profile* profile,
+ gfx::NativeView context);
// DetachableToolbarView methods:
virtual bool IsDetached() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698