summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native_control.h')
-rw-r--r--views/controls/native_control.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/native_control.h b/views/controls/native_control.h
index ed565e6..972ef36 100644
--- a/views/controls/native_control.h
+++ b/views/controls/native_control.h
@@ -7,7 +7,6 @@
#include <windows.h>
-#include "base/keyboard_codes.h"
#include "views/view.h"
namespace views {
@@ -80,7 +79,7 @@ class NativeControl : public View {
// Invoked when a key is pressed on the control.
// Should return true if the key message was processed, false otherwise.
- virtual bool OnKeyDown(base::KeyboardCode virtual_key_code) { return false; }
+ virtual bool OnKeyDown(int virtual_key_code) { return false; }
// Returns additional extended style flags. When subclasses call
// CreateWindowEx in order to create the underlying control, they must OR the