NativeViewHost should query its native view for the current cursor
commit6c6a47f9435c03986a6305a68697af704d3e733c
authortdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Mar 2014 21:24:27 +0000 (13 21:24 +0000)
committertdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 13 Mar 2014 21:24:27 +0000 (13 21:24 +0000)
treeaee5b15f0fedbf155b3a2799b882be4de22b5351
parent541ca6c2c6fdc2be9f8b8b9f032da8e81aac6cdb
NativeViewHost should query its native view for the current cursor

Add an override of View::GetCursor() to NativeViewHost so
that the native view can be queried for the current mouse
cursor. Currently no such override exists, and the default
implementation in View::GetCursor() does not always return
the correct value.

BUG=349118,351469
TEST=NativeViewHostAuraTest.CursorForNativeView

Review URL: https://codereview.chromium.org/195723002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256934 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/controls/native/native_view_host.cc
ui/views/controls/native/native_view_host.h
ui/views/controls/native/native_view_host_aura.cc
ui/views/controls/native/native_view_host_aura.h
ui/views/controls/native/native_view_host_aura_unittest.cc
ui/views/controls/native/native_view_host_wrapper.h
ui/views/widget/root_view.cc