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

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

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
===================================================================
--- views/controls/scrollbar/native_scroll_bar_win.cc (revision 71220)
+++ views/controls/scrollbar/native_scroll_bar_win.cc (working copy)
@@ -7,9 +7,9 @@
#include <algorithm>
#include <string>
-#include "app/keyboard_codes.h"
#include "app/win/window_impl.h"
#include "base/message_loop.h"
+#include "ui/base/keycodes/keyboard_codes.h"
#include "views/controls/scrollbar/native_scroll_bar.h"
#include "views/controls/scrollbar/scroll_bar.h"
#include "views/widget/widget.h"
@@ -231,31 +231,31 @@
return false;
int code = -1;
switch (event.GetKeyCode()) {
- case app::VKEY_UP:
+ case ui::VKEY_UP:
if (!native_scroll_bar_->IsHorizontal())
code = SB_LINEUP;
break;
- case app::VKEY_PRIOR:
+ case ui::VKEY_PRIOR:
code = SB_PAGEUP;
break;
- case app::VKEY_NEXT:
+ case ui::VKEY_NEXT:
code = SB_PAGEDOWN;
break;
- case app::VKEY_DOWN:
+ case ui::VKEY_DOWN:
if (!native_scroll_bar_->IsHorizontal())
code = SB_LINEDOWN;
break;
- case app::VKEY_HOME:
+ case ui::VKEY_HOME:
code = SB_TOP;
break;
- case app::VKEY_END:
+ case ui::VKEY_END:
code = SB_BOTTOM;
break;
- case app::VKEY_LEFT:
+ case ui::VKEY_LEFT:
if (native_scroll_bar_->IsHorizontal())
code = SB_LINELEFT;
break;
- case app::VKEY_RIGHT:
+ case ui::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