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

Unified Diff: ui/app_list/contents_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/contents_view.h ('k') | ui/app_list/search_box_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/contents_view.cc
===================================================================
--- ui/app_list/contents_view.cc (revision 150588)
+++ ui/app_list/contents_view.cc (working copy)
@@ -11,6 +11,7 @@
#include "ui/app_list/page_switcher.h"
#include "ui/app_list/pagination_model.h"
#include "ui/app_list/search_result_list_view.h"
+#include "ui/base/event.h"
#include "ui/views/animation/bounds_animator.h"
#include "ui/views/view_model.h"
#include "ui/views/view_model_utils.h"
@@ -219,7 +220,7 @@
return ui::GESTURE_STATUS_UNKNOWN;
}
-bool ContentsView::OnKeyPressed(const views::KeyEvent& event) {
+bool ContentsView::OnKeyPressed(const ui::KeyEvent& event) {
switch (show_state_) {
case SHOW_APPS:
return GetAppsGridView(view_model_.get())->OnKeyPressed(event);
« no previous file with comments | « ui/app_list/contents_view.h ('k') | ui/app_list/search_box_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698