Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
index 16987e910769bf5ab13af0c4bfbe77f522d9646c..6801098f897faffef845c0384d613660acb12d4d 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc |
@@ -512,20 +512,6 @@ void DesktopWindowTreeHostWin::ReleaseCapture() { |
message_handler_->ReleaseCapture(); |
} |
-bool DesktopWindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { |
- aura::client::CursorClient* cursor_client = |
- aura::client::GetCursorClient(window()); |
- if (cursor_client && !cursor_client->IsMouseEventsEnabled()) { |
- *location_return = gfx::Point(0, 0); |
- return false; |
- } |
- POINT pt = {0}; |
- ::GetCursorPos(&pt); |
- *location_return = |
- gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y)); |
- return true; |
-} |
- |
void DesktopWindowTreeHostWin::PostNativeEvent( |
const base::NativeEvent& native_event) { |
} |