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

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

Issue 3361003: Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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/bitmap_scroll_bar.cc ('k') | views/controls/scrollbar/native_scroll_bar_win.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_gtk.cc
===================================================================
--- views/controls/scrollbar/native_scroll_bar_gtk.cc (revision 58386)
+++ views/controls/scrollbar/native_scroll_bar_gtk.cc (working copy)
@@ -6,7 +6,7 @@
#include <gtk/gtk.h>
-#include "base/keyboard_codes_posix.h"
+#include "app/keyboard_codes_posix.h"
#include "views/controls/scrollbar/native_scroll_bar.h"
#include "views/controls/scrollbar/scroll_bar.h"
@@ -45,32 +45,32 @@
if (!native_view())
return false;
switch (event.GetKeyCode()) {
- case base::VKEY_UP:
+ case app::VKEY_UP:
if (!native_scroll_bar_->IsHorizontal())
MoveStep(false /* negative */);
break;
- case base::VKEY_DOWN:
+ case app::VKEY_DOWN:
if (!native_scroll_bar_->IsHorizontal())
MoveStep(true /* positive */);
break;
- case base::VKEY_LEFT:
+ case app::VKEY_LEFT:
if (native_scroll_bar_->IsHorizontal())
MoveStep(false /* negative */);
break;
- case base::VKEY_RIGHT:
+ case app::VKEY_RIGHT:
if (native_scroll_bar_->IsHorizontal())
MoveStep(true /* positive */);
break;
- case base::VKEY_PRIOR:
+ case app::VKEY_PRIOR:
MovePage(false /* negative */);
break;
- case base::VKEY_NEXT:
+ case app::VKEY_NEXT:
MovePage(true /* positive */);
break;
- case base::VKEY_HOME:
+ case app::VKEY_HOME:
MoveTo(0);
break;
- case base::VKEY_END:
+ case app::VKEY_END:
MoveToBottom();
break;
default:
« no previous file with comments | « views/controls/scrollbar/bitmap_scroll_bar.cc ('k') | views/controls/scrollbar/native_scroll_bar_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698