1 // Copyright (c) 2012 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"
12 void UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent(
13 gfx::NativeEvent event
,
14 FocusManager
* focus_manager
) {
15 // Any unhandled keyboard/character messages should be defproced.
16 // This allows stuff like F10, etc to work correctly.
17 const MSG
& message(event
->native_event());
18 DefWindowProc(message
.hwnd
, message
.message
, message
.wParam
, message
.lParam
);