diff options
Diffstat (limited to 'views/controls/tree/tree_view.h')
-rw-r--r-- | views/controls/tree/tree_view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/tree/tree_view.h b/views/controls/tree/tree_view.h index 72667bf..0011835 100644 --- a/views/controls/tree/tree_view.h +++ b/views/controls/tree/tree_view.h @@ -12,6 +12,7 @@ #include "app/tree_model.h" #include "base/basictypes.h" +#include "base/keyboard_codes.h" #include "base/logging.h" #include "views/controls/native_control.h" @@ -159,7 +160,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(int virtual_key_code); + virtual bool OnKeyDown(base::KeyboardCode virtual_key_code); virtual void OnContextMenu(const POINT& location); |