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

Unified Diff: ui/views/controls/scrollbar/native_scroll_bar.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
Index: ui/views/controls/scrollbar/native_scroll_bar.cc
===================================================================
--- ui/views/controls/scrollbar/native_scroll_bar.cc (revision 150588)
+++ ui/views/controls/scrollbar/native_scroll_bar.cc (working copy)
@@ -8,6 +8,7 @@
#include <string>
#include "base/message_loop.h"
+#include "ui/base/event.h"
#include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h"
#include "ui/views/widget/widget.h"
@@ -69,7 +70,7 @@
}
// Overridden from View for keyboard UI.
-bool NativeScrollBar::OnKeyPressed(const KeyEvent& event) {
+bool NativeScrollBar::OnKeyPressed(const ui::KeyEvent& event) {
if (!native_wrapper_)
return false;
return native_wrapper_->GetView()->OnKeyPressed(event);
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar.h ('k') | ui/views/controls/scrollbar/native_scroll_bar_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698