Skip to content

Commit

Permalink
Aura on Android: UnhandledKeyboardEventHandler::HandleNativeKeyboardE…
Browse files Browse the repository at this point in the history
…vent implementaion.

Using Linux implementation of UnhandledKeyboardEventHandler::HandleNativeKeyboardEvent on Android Aura.

BUG=507792

Review URL: https://codereview.chromium.org/1403283002

Cr-Commit-Position: refs/heads/master@{#355448}
  • Loading branch information
mfomitchev authored and Commit bot committed Oct 22, 2015
1 parent 22bc1e2 commit 437e3af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ui/views/controls/webview/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ component("webview") {
sources = [
"unhandled_keyboard_event_handler.cc",
"unhandled_keyboard_event_handler.h",
"unhandled_keyboard_event_handler_linux.cc",
"unhandled_keyboard_event_handler_win.cc",
"web_dialog_view.cc",
"web_dialog_view.h",
Expand Down Expand Up @@ -39,6 +38,10 @@ component("webview") {
"//ui/gfx/geometry",
"//ui/views",
]

if (is_linux || is_android) {
sources += [ "unhandled_keyboard_event_handler_default.cc" ]
}
}

source_set("test_support") {
Expand Down
6 changes: 5 additions & 1 deletion ui/views/controls/webview/webview.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
# Note: file list duplicated in GN build.
'unhandled_keyboard_event_handler.cc',
'unhandled_keyboard_event_handler.h',
'unhandled_keyboard_event_handler_linux.cc',
'unhandled_keyboard_event_handler_mac.mm',
'unhandled_keyboard_event_handler_win.cc',
'web_dialog_view.cc',
Expand All @@ -42,6 +41,11 @@
'webview.h',
'webview_export.h',
],
'conditions': [
['OS=="linux" or OS=="android"', {
'sources': [ 'unhandled_keyboard_event_handler_default.cc', ],
}],
],
},
],
}

0 comments on commit 437e3af

Please sign in to comment.