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

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

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/views/drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/web_dialog_view.cc
===================================================================
--- ui/views/controls/webview/web_dialog_view.cc (revision 150582)
+++ ui/views/controls/webview/web_dialog_view.cc (working copy)
@@ -24,7 +24,7 @@
#include "ui/web_dialogs/web_dialog_ui.h"
#if defined(USE_AURA)
-#include "ui/aura/event.h"
+#include "ui/base/event.h"
#include "ui/views/widget/native_widget_aura.h"
#endif
@@ -249,7 +249,7 @@
void WebDialogView::HandleKeyboardEvent(content::WebContents* source,
const NativeWebKeyboardEvent& event) {
#if defined(USE_AURA)
- aura::KeyEvent aura_event(event.os_event->native_event(), false);
+ ui::KeyEvent aura_event(event.os_event->native_event(), false);
views::NativeWidgetAura* aura_widget =
static_cast<views::NativeWidgetAura*>(GetWidget()->native_widget());
aura_widget->OnKeyEvent(&aura_event);
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/views/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698