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

Unified Diff: ui/app_list/apps_grid_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/apps_grid_view.h ('k') | ui/app_list/contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/apps_grid_view.cc
===================================================================
--- ui/app_list/apps_grid_view.cc (revision 150588)
+++ ui/app_list/apps_grid_view.cc (working copy)
@@ -8,6 +8,7 @@
#include "ui/app_list/app_list_item_view.h"
#include "ui/app_list/pagination_model.h"
+#include "ui/base/event.h"
#include "ui/views/border.h"
namespace {
@@ -168,7 +169,7 @@
}
}
-bool AppsGridView::OnKeyPressed(const views::KeyEvent& event) {
+bool AppsGridView::OnKeyPressed(const ui::KeyEvent& event) {
bool handled = false;
if (selected_item_index_ >= 0)
handled = GetItemViewAtIndex(selected_item_index_)->OnKeyPressed(event);
@@ -217,7 +218,7 @@
return handled;
}
-bool AppsGridView::OnKeyReleased(const views::KeyEvent& event) {
+bool AppsGridView::OnKeyReleased(const ui::KeyEvent& event) {
bool handled = false;
if (selected_item_index_ >= 0)
handled = GetItemViewAtIndex(selected_item_index_)->OnKeyReleased(event);
« no previous file with comments | « ui/app_list/apps_grid_view.h ('k') | ui/app_list/contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698