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

Unified Diff: ui/views/focus/focus_manager_unittest_win.cc

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (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/views/focus/focus_manager.cc ('k') | ui/views/ime/input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager_unittest_win.cc
===================================================================
--- ui/views/focus/focus_manager_unittest_win.cc (revision 150588)
+++ ui/views/focus/focus_manager_unittest_win.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/utf_string_conversions.h"
+#include "ui/base/event.h"
#include "ui/views/controls/button/text_button.h"
#include "ui/views/focus/accelerator_handler.h"
#include "ui/views/focus/focus_manager_test.h"
@@ -40,11 +41,11 @@
}
// Overridden from View:
- virtual bool OnKeyPressed(const KeyEvent& e) OVERRIDE {
+ virtual bool OnKeyPressed(const ui::KeyEvent& e) OVERRIDE {
keys_pressed_.push_back(e.key_code());
return true;
}
- virtual bool OnKeyReleased(const KeyEvent& e) OVERRIDE {
+ virtual bool OnKeyReleased(const ui::KeyEvent& e) OVERRIDE {
keys_released_.push_back(e.key_code());
return true;
}
« no previous file with comments | « ui/views/focus/focus_manager.cc ('k') | ui/views/ime/input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698