Override PreDispatchEvent() and PostDispatchEvent() in RootView
commit6e9834250fb3e28a90e853153a4230bcf5ac3b55
authortdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 10 Mar 2014 20:34:42 +0000 (10 20:34 +0000)
committertdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 10 Mar 2014 20:34:42 +0000 (10 20:34 +0000)
tree475fed85f64d78b8f4a944744315a89db804742e
parent97ab90b80e20cade54d104439805420f382c44fe
Override PreDispatchEvent() and PostDispatchEvent() in RootView

In RootView, override the EventDispatcherDelegate functions
PreDipatchEvent() and PostDispatchEvent(). This allows us to
remove the unnecessary private helper function
RootView::DispatchEventToTarget() by replacing all
of its calls with calls to
EventDispatcherDelegate::DispatchEvent() instead.

BUG=348102
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256024 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/widget/root_view.cc
ui/views/widget/root_view.h