Add ICU message format support
[chromium-blink-merge.git] / ui / views / controls / webview / unhandled_keyboard_event_handler_win.cc
blobe31aabbf90125dd632147d9ae04efe3483728ff9
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"
9 namespace views {
11 // static
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);
21 } // namespace views