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

Unified Diff: ui/views/widget/desktop_screen_position_client.cc

Issue 10911342: Add ScreenPositionClient::ConvertNativePointToScreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
« no previous file with comments | « ui/views/widget/desktop_screen_position_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_screen_position_client.cc
diff --git a/ui/views/widget/desktop_screen_position_client.cc b/ui/views/widget/desktop_screen_position_client.cc
index d557ddb4ffbbb740bda14f636aff8ea4b79b0be2..8bf14125c18985f6c5a19e8abdd589d64f285e66 100644
--- a/ui/views/widget/desktop_screen_position_client.cc
+++ b/ui/views/widget/desktop_screen_position_client.cc
@@ -30,6 +30,11 @@ void DesktopScreenPositionClient::ConvertPointFromScreen(
aura::Window::ConvertPointToTarget(root_window, window, point);
}
+void DesktopScreenPositionClient::ConvertNativePointToScreen(
+ aura::Window* window, gfx::Point* point) {
+ ConvertPointToScreen(window, point);
+}
+
void DesktopScreenPositionClient::SetBounds(
aura::Window* window,
const gfx::Rect& bounds,
« no previous file with comments | « ui/views/widget/desktop_screen_position_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698