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

Unified Diff: views/controls/scrollbar/native_scroll_bar_win.cc

Issue 3354005: Re-lands 58186: (Closed)
Patch Set: Created 10 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 | « views/controls/scrollbar/native_scroll_bar_gtk.cc ('k') | views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/scrollbar/native_scroll_bar_win.cc
diff --git a/views/controls/scrollbar/native_scroll_bar_win.cc b/views/controls/scrollbar/native_scroll_bar_win.cc
index 65350e0a21c638dd84f10be66654b829a2220824..55592a8a7d040b392c4d8469bd8091c77c24937b 100644
--- a/views/controls/scrollbar/native_scroll_bar_win.cc
+++ b/views/controls/scrollbar/native_scroll_bar_win.cc
@@ -7,7 +7,7 @@
#include <algorithm>
#include <string>
-#include "base/keyboard_codes.h"
+#include "app/keyboard_codes.h"
#include "base/message_loop.h"
#include "gfx/window_impl.h"
#include "views/controls/scrollbar/native_scroll_bar.h"
@@ -231,31 +231,31 @@ bool NativeScrollBarWin::OnKeyPressed(const KeyEvent& event) {
return false;
int code = -1;
switch (event.GetKeyCode()) {
- case base::VKEY_UP:
+ case app::VKEY_UP:
if (!native_scroll_bar_->IsHorizontal())
code = SB_LINEUP;
break;
- case base::VKEY_PRIOR:
+ case app::VKEY_PRIOR:
code = SB_PAGEUP;
break;
- case base::VKEY_NEXT:
+ case app::VKEY_NEXT:
code = SB_PAGEDOWN;
break;
- case base::VKEY_DOWN:
+ case app::VKEY_DOWN:
if (!native_scroll_bar_->IsHorizontal())
code = SB_LINEDOWN;
break;
- case base::VKEY_HOME:
+ case app::VKEY_HOME:
code = SB_TOP;
break;
- case base::VKEY_END:
+ case app::VKEY_END:
code = SB_BOTTOM;
break;
- case base::VKEY_LEFT:
+ case app::VKEY_LEFT:
if (native_scroll_bar_->IsHorizontal())
code = SB_LINELEFT;
break;
- case base::VKEY_RIGHT:
+ case app::VKEY_RIGHT:
if (native_scroll_bar_->IsHorizontal())
code = SB_LINERIGHT;
break;
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar_gtk.cc ('k') | views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698