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

Unified Diff: ui/views/controls/scrollbar/native_scroll_bar_win.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/views/controls/scrollbar/native_scroll_bar_win.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/native_scroll_bar_win.cc
===================================================================
--- ui/views/controls/scrollbar/native_scroll_bar_win.cc (revision 150588)
+++ ui/views/controls/scrollbar/native_scroll_bar_win.cc (working copy)
@@ -8,6 +8,7 @@
#include <string>
#include "base/message_loop.h"
+#include "ui/base/event.h"
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/base/win/hwnd_util.h"
#include "ui/base/win/window_impl.h"
@@ -226,7 +227,7 @@
return gfx::Size(GetVerticalScrollBarWidth(), 0);
}
-bool NativeScrollBarWin::OnKeyPressed(const KeyEvent& event) {
+bool NativeScrollBarWin::OnKeyPressed(const ui::KeyEvent& event) {
if (!sb_container_.get())
return false;
int code = -1;
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar_win.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698