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