diff options
author | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-29 22:59:38 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-29 22:59:38 +0000 |
commit | 6fbb6731e960c79656231ca611e175c1f3757b8a (patch) | |
tree | 9c089f55db600a979ad19d1d8f8778e5526cc744 /webkit/support/webkit_support.h | |
parent | b746f37f64b162b354bc74e088bcdc5db7264322 (diff) | |
download | chromium_src-6fbb6731e960c79656231ca611e175c1f3757b8a.zip chromium_src-6fbb6731e960c79656231ca611e175c1f3757b8a.tar.gz chromium_src-6fbb6731e960c79656231ca611e175c1f3757b8a.tar.bz2 |
webkit_support: Introduce indirect definitions for base::VKEY_* in
order to remove keyboard_codes.h dependency from DumpRenderTree.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3226007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/webkit_support.h')
-rw-r--r-- | webkit/support/webkit_support.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h index 6f52f64..6b82df8 100644 --- a/webkit/support/webkit_support.h +++ b/webkit/support/webkit_support.h @@ -8,6 +8,7 @@ #include <string> #include "base/basictypes.h" +#include "base/keyboard_codes.h" #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgentClient.h" class Task; @@ -151,6 +152,23 @@ WebKit::WebThemeEngine* GetThemeEngine(); WebKit::WebCString GetDevToolsDebuggerScriptSource(); WebKit::WebURL GetDevToolsPathAsURL(); +// -------- Keyboard code +enum { + VKEY_LEFT = base::VKEY_LEFT, + VKEY_RIGHT = base::VKEY_RIGHT, + VKEY_UP = base::VKEY_UP, + VKEY_DOWN = base::VKEY_DOWN, + VKEY_RETURN = base::VKEY_RETURN, + VKEY_INSERT = base::VKEY_INSERT, + VKEY_DELETE = base::VKEY_DELETE, + VKEY_PRIOR = base::VKEY_PRIOR, + VKEY_NEXT = base::VKEY_NEXT, + VKEY_HOME = base::VKEY_HOME, + VKEY_END = base::VKEY_END, + VKEY_SNAPSHOT = base::VKEY_SNAPSHOT, + VKEY_F1 = base::VKEY_F1, +}; + } // namespace webkit_support #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ |