| Index: ui/views/widget/desktop_native_widget_aura.cc
|
| diff --git a/ui/views/widget/desktop_native_widget_aura.cc b/ui/views/widget/desktop_native_widget_aura.cc
|
| index 4d5f0a79a57d32d306ac7df1c5c98737cb7352b2..5af67b487b24af0a5ca648943a158295e388b866 100644
|
| --- a/ui/views/widget/desktop_native_widget_aura.cc
|
| +++ b/ui/views/widget/desktop_native_widget_aura.cc
|
| @@ -302,10 +302,6 @@ void DesktopNativeWidgetAura::OnFocus(aura::Window* old_focused_window) {
|
| void DesktopNativeWidgetAura::OnBlur() {
|
| }
|
|
|
| -bool DesktopNativeWidgetAura::OnKeyEvent(ui::KeyEvent* event) {
|
| - return false;
|
| -}
|
| -
|
| gfx::NativeCursor DesktopNativeWidgetAura::GetCursor(const gfx::Point& point) {
|
| return gfx::kNullCursor;
|
| }
|
| @@ -321,19 +317,6 @@ bool DesktopNativeWidgetAura::ShouldDescendIntoChildForEventHandling(
|
| return true;
|
| }
|
|
|
| -bool DesktopNativeWidgetAura::OnMouseEvent(ui::MouseEvent* event) {
|
| - return false;
|
| -}
|
| -
|
| -ui::TouchStatus DesktopNativeWidgetAura::OnTouchEvent(ui::TouchEvent* event) {
|
| - return ui::TOUCH_STATUS_UNKNOWN;
|
| -}
|
| -
|
| -ui::EventResult DesktopNativeWidgetAura::OnGestureEvent(
|
| - ui::GestureEvent* event) {
|
| - return ui::ER_UNHANDLED;
|
| -}
|
| -
|
| bool DesktopNativeWidgetAura::CanFocus() {
|
| return true;
|
| }
|
| @@ -364,4 +347,24 @@ bool DesktopNativeWidgetAura::HasHitTestMask() const {
|
| void DesktopNativeWidgetAura::GetHitTestMask(gfx::Path* mask) const {
|
| }
|
|
|
| +////////////////////////////////////////////////////////////////////////////////
|
| +// DesktopNativeWidgetAura, ui::EventHandler implementation:
|
| +
|
| +ui::EventResult DesktopNativeWidgetAura::OnKeyEvent(ui::KeyEvent* event) {
|
| + return ui::ER_UNHANDLED;
|
| +}
|
| +
|
| +ui::EventResult DesktopNativeWidgetAura::OnMouseEvent(ui::MouseEvent* event) {
|
| + return ui::ER_UNHANDLED;
|
| +}
|
| +
|
| +ui::TouchStatus DesktopNativeWidgetAura::OnTouchEvent(ui::TouchEvent* event) {
|
| + return ui::TOUCH_STATUS_UNKNOWN;
|
| +}
|
| +
|
| +ui::EventResult DesktopNativeWidgetAura::OnGestureEvent(
|
| + ui::GestureEvent* event) {
|
| + return ui::ER_UNHANDLED;
|
| +}
|
| +
|
| } // namespace views
|
|
|