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

Unified Diff: content/shell/shell_aura.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 | « chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc ('k') | ui/app_list/app_list_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_aura.cc
===================================================================
--- content/shell/shell_aura.cc (revision 150588)
+++ content/shell/shell_aura.cc (working copy)
@@ -14,6 +14,7 @@
#include "ui/aura/single_display_manager.h"
#include "ui/base/accessibility/accessibility_types.h"
#include "ui/base/clipboard/clipboard.h"
+#include "ui/base/event.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/screen.h"
#include "ui/views/controls/button/text_button.h"
@@ -250,7 +251,7 @@
const string16& new_contents) OVERRIDE {
}
virtual bool HandleKeyEvent(Textfield* sender,
- const KeyEvent& key_event) OVERRIDE {
+ const ui::KeyEvent& key_event) OVERRIDE {
if (sender == url_entry_ && key_event.key_code() == ui::VKEY_RETURN) {
std::string text = UTF16ToUTF8(url_entry_->text());
GURL url(text);
« no previous file with comments | « chrome/browser/ui/views/unhandled_keyboard_event_handler_aurax11.cc ('k') | ui/app_list/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698