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

Unified Diff: ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc
diff --git a/ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc b/ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc
index 4b5288f9a2e819a02ba7ecbde9df47fdf62183c9..45c51ad61a6fbf546dc94140f33bde9370cb8f49 100644
--- a/ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc
+++ b/ui/views/controls/webview/unhandled_keyboard_event_handler_linux.cc
@@ -28,7 +28,7 @@ void UnhandledKeyboardEventHandler::HandleKeyboardEvent(
// Previous calls to TranslateMessage can generate Char events as well as
// RawKeyDown events, even if the latter triggered an accelerator. In these
// cases, we discard the Char events.
- if (event.type == WebKit::WebInputEvent::Char && ignore_next_char_event_) {
+ if (event.type == blink::WebInputEvent::Char && ignore_next_char_event_) {
ignore_next_char_event_ = false;
return;
}
@@ -36,7 +36,7 @@ void UnhandledKeyboardEventHandler::HandleKeyboardEvent(
// always generate a Char event.
ignore_next_char_event_ = false;
- if (event.type == WebKit::WebInputEvent::RawKeyDown) {
+ if (event.type == blink::WebInputEvent::RawKeyDown) {
ui::Accelerator accelerator(
static_cast<ui::KeyboardCode>(event.windowsKeyCode),
content::GetModifiersFromNativeWebKeyboardEvent(event));
« no previous file with comments | « ui/compositor/test/default_context_factory.cc ('k') | ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698