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

Unified Diff: ui/app_list/search_box_view.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/app_list/search_box_view.h ('k') | ui/app_list/search_result_list_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_box_view.cc
===================================================================
--- ui/app_list/search_box_view.cc (revision 150588)
+++ ui/app_list/search_box_view.cc (working copy)
@@ -8,6 +8,7 @@
#include "ui/app_list/search_box_model.h"
#include "ui/app_list/search_box_view_delegate.h"
+#include "ui/base/event.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/textfield/textfield.h"
@@ -114,7 +115,7 @@
}
bool SearchBoxView::HandleKeyEvent(views::Textfield* sender,
- const views::KeyEvent& key_event) {
+ const ui::KeyEvent& key_event) {
bool has_query = !search_box_->text().empty();
// Escape with non-empty query text clears the search box.
« no previous file with comments | « ui/app_list/search_box_view.h ('k') | ui/app_list/search_result_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698