Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / views / controls / webview / unhandled_keyboard_event_handler_linux.cc
blob8d30e36ad8ad0629fb6f5377da19dc520833835b
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.
5 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h"
7 #include "ui/events/event.h"
8 #include "ui/views/focus/focus_manager.h"
10 namespace views {
12 // static
13 void UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent(
14 gfx::NativeEvent event,
15 FocusManager* focus_manager) {
16 focus_manager->OnKeyEvent(*static_cast<ui::KeyEvent*>(event));
19 } // namespace views