diff options
Diffstat (limited to 'views/controls/tree/tree_view.h')
-rw-r--r-- | views/controls/tree/tree_view.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/tree/tree_view.h b/views/controls/tree/tree_view.h index 61c6001..463a8bc 100644 --- a/views/controls/tree/tree_view.h +++ b/views/controls/tree/tree_view.h @@ -11,9 +11,9 @@ #include <map> -#include "app/keyboard_codes.h" #include "app/tree_model.h" #include "base/basictypes.h" +#include "ui/base/keycodes/keyboard_codes.h" #include "views/controls/native_control.h" namespace views { @@ -36,7 +36,7 @@ class TreeViewController { } // Invoked when a key is pressed on the tree view. - virtual void OnTreeViewKeyDown(app::KeyboardCode keycode) {} + virtual void OnTreeViewKeyDown(ui::KeyboardCode keycode) {} }; // TreeView ------------------------------------------------------------------- @@ -181,7 +181,7 @@ class TreeView : public NativeControl, TreeModelObserver { // We pay attention to key down for two reasons: to circumvent VK_ENTER from // toggling the expaned state when processes_enter_ is false, and to have F2 // start editting. - virtual bool OnKeyDown(app::KeyboardCode virtual_key_code); + virtual bool OnKeyDown(ui::KeyboardCode virtual_key_code); virtual void OnContextMenu(const POINT& location); |