summaryrefslogtreecommitdiffstats
path: root/views/controls/scrollbar/native_scroll_bar_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/scrollbar/native_scroll_bar_gtk.cc')
-rw-r--r--views/controls/scrollbar/native_scroll_bar_gtk.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/views/controls/scrollbar/native_scroll_bar_gtk.cc b/views/controls/scrollbar/native_scroll_bar_gtk.cc
index 6f318ec..0a1bc73 100644
--- a/views/controls/scrollbar/native_scroll_bar_gtk.cc
+++ b/views/controls/scrollbar/native_scroll_bar_gtk.cc
@@ -6,7 +6,7 @@
#include <gtk/gtk.h>
-#include "app/keyboard_codes_posix.h"
+#include "ui/base/keycodes/keyboard_codes_posix.h"
#include "views/controls/scrollbar/native_scroll_bar.h"
#include "views/controls/scrollbar/scroll_bar.h"
@@ -45,32 +45,32 @@ bool NativeScrollBarGtk::OnKeyPressed(const KeyEvent& event) {
if (!native_view())
return false;
switch (event.GetKeyCode()) {
- case app::VKEY_UP:
+ case ui::VKEY_UP:
if (!native_scroll_bar_->IsHorizontal())
MoveStep(false /* negative */);
break;
- case app::VKEY_DOWN:
+ case ui::VKEY_DOWN:
if (!native_scroll_bar_->IsHorizontal())
MoveStep(true /* positive */);
break;
- case app::VKEY_LEFT:
+ case ui::VKEY_LEFT:
if (native_scroll_bar_->IsHorizontal())
MoveStep(false /* negative */);
break;
- case app::VKEY_RIGHT:
+ case ui::VKEY_RIGHT:
if (native_scroll_bar_->IsHorizontal())
MoveStep(true /* positive */);
break;
- case app::VKEY_PRIOR:
+ case ui::VKEY_PRIOR:
MovePage(false /* negative */);
break;
- case app::VKEY_NEXT:
+ case ui::VKEY_NEXT:
MovePage(true /* positive */);
break;
- case app::VKEY_HOME:
+ case ui::VKEY_HOME:
MoveTo(0);
break;
- case app::VKEY_END:
+ case ui::VKEY_END:
MoveToBottom();
break;
default: