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

Unified Diff: chrome/browser/ui/views/fullscreen_exit_bubble_views.cc

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: fix other os's 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/fullscreen_exit_bubble_views.cc
diff --git a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
index 760c2de398ddf30763e4aedbe9cbb916ed919724..addaf3dfb54121e91524cb05914d3d17d2b04554 100644
--- a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
+++ b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
@@ -357,7 +357,8 @@ gfx::Rect FullscreenExitBubbleViews::GetPopupRect(
}
gfx::Point FullscreenExitBubbleViews::GetCursorScreenPoint() {
- gfx::Point cursor_pos = gfx::Screen::GetCursorScreenPoint();
+ gfx::Point cursor_pos = gfx::Screen::GetCursorScreenPoint(
+ gfx::Screen::BadTwoWorldsContext());
oshima 2012/10/04 20:18:26 root_view_->GetWidget()->GetNativeView()?
views::View::ConvertPointToTarget(NULL, root_view_, &cursor_pos);
return cursor_pos;
}

Powered by Google App Engine
This is Rietveld 408576698