Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc

Issue 1403283002: Aura on Android: UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent implementaion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_events
Patch Set: Renaming nhandled_keyboard_event_handler_linux to nhandled_keyboard_event_handler_default Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/views/controls/webview/unhandled_keyboard_event_handler_default.cc ('k') | ui/views/controls/webview/webview.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698