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

Side by Side Diff: ui/views/controls/webview/unhandled_keyboard_event_handler_default.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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" 5 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h"
6 6
7 #include "ui/events/event.h" 7 #include "ui/events/event.h"
8 #include "ui/views/focus/focus_manager.h" 8 #include "ui/views/focus/focus_manager.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 // static 12 // static
13 void UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent( 13 void UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent(
14 gfx::NativeEvent event, 14 gfx::NativeEvent event,
15 FocusManager* focus_manager) { 15 FocusManager* focus_manager) {
16 focus_manager->OnKeyEvent(*static_cast<ui::KeyEvent*>(event)); 16 focus_manager->OnKeyEvent(*static_cast<ui::KeyEvent*>(event));
17 } 17 }
18 18
19 } // namespace views 19 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/webview/BUILD.gn ('k') | ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698