| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" | |
| 6 | |
| 7 #include "ui/events/event.h" | |
| 8 #include "ui/views/focus/focus_manager.h" | |
| 9 | |
| 10 namespace views { | |
| 11 | |
| 12 // static | |
| 13 void UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent( | |
| 14 gfx::NativeEvent event, | |
| 15 FocusManager* focus_manager) { | |
| 16 focus_manager->OnKeyEvent(*static_cast<ui::KeyEvent*>(event)); | |
| 17 } | |
| 18 | |
| 19 } // namespace views | |
| OLD | NEW |