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

Unified Diff: ash/keyboard_overlay/keyboard_overlay_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 | « ash/keyboard_overlay/keyboard_overlay_view.h ('k') | ash/launcher/launcher_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/keyboard_overlay/keyboard_overlay_view.cc
===================================================================
--- ash/keyboard_overlay/keyboard_overlay_view.cc (revision 150582)
+++ ash/keyboard_overlay/keyboard_overlay_view.cc (working copy)
@@ -9,6 +9,7 @@
#include "base/utf_string_conversions.h"
#include "content/public/browser/browser_context.h"
#include "grit/ash_strings.h"
+#include "ui/base/event.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
@@ -47,7 +48,7 @@
widget->Close();
}
-bool KeyboardOverlayView::IsCancelingKeyEvent(aura::KeyEvent* event) {
+bool KeyboardOverlayView::IsCancelingKeyEvent(ui::KeyEvent* event) {
if (event->type() != ui::ET_KEY_PRESSED)
return false;
for (size_t i = 0; i < arraysize(kCancelKeys); ++i) {
« no previous file with comments | « ash/keyboard_overlay/keyboard_overlay_view.h ('k') | ash/launcher/launcher_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698