diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-16 04:21:54 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-16 04:21:54 +0000 |
commit | 4c090d2e47966acc72365fad22612f2235d89396 (patch) | |
tree | db06cf81ec14cc08c72e89a3ee0d10ca0f61f595 /ui/aura/window_tree_host_win.cc | |
parent | 5f4616d145d23a69da79c7ce6ae7df4ae3da5d48 (diff) | |
download | chromium_src-4c090d2e47966acc72365fad22612f2235d89396.zip chromium_src-4c090d2e47966acc72365fad22612f2235d89396.tar.gz chromium_src-4c090d2e47966acc72365fad22612f2235d89396.tar.bz2 |
Remove some methods from RootWindow that really belong on the WTH.
TBR=sky@chromium.org
BUG=
Review URL: https://codereview.chromium.org/167563004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_tree_host_win.cc')
-rw-r--r-- | ui/aura/window_tree_host_win.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc index 6ae1933..e1f9ea2 100644 --- a/ui/aura/window_tree_host_win.cc +++ b/ui/aura/window_tree_host_win.cc @@ -158,16 +158,6 @@ gfx::Point WindowTreeHostWin::GetLocationOnNativeScreen() const { } -void WindowTreeHostWin::SetCursor(gfx::NativeCursor native_cursor) { - // Custom web cursors are handled directly. - if (native_cursor == ui::kCursorCustom) - return; - - ui::CursorLoaderWin cursor_loader; - cursor_loader.SetPlatformCursor(&native_cursor); - ::SetCursor(native_cursor.platform()); -} - void WindowTreeHostWin::SetCapture() { if (!has_capture_) { has_capture_ = true; @@ -211,14 +201,24 @@ void WindowTreeHostWin::UnConfineCursor() { ClipCursor(NULL); } -void WindowTreeHostWin::OnCursorVisibilityChanged(bool show) { - NOTIMPLEMENTED(); +void WindowTreeHostWin::SetCursorNative(gfx::NativeCursor native_cursor) { + // Custom web cursors are handled directly. + if (native_cursor == ui::kCursorCustom) + return; + + ui::CursorLoaderWin cursor_loader; + cursor_loader.SetPlatformCursor(&native_cursor); + ::SetCursor(native_cursor.platform()); } -void WindowTreeHostWin::MoveCursorTo(const gfx::Point& location) { +void WindowTreeHostWin::MoveCursorToNative(const gfx::Point& location) { // Deliberately not implemented. } +void WindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) { + NOTIMPLEMENTED(); +} + void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) { ::PostMessage( hwnd(), native_event.message, native_event.wParam, native_event.lParam); |