OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ |
6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "app/keyboard_codes.h" | |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgentClient.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgentClient.h" |
15 #include "third_party/WebKit/WebKit/chromium/public/WebFileSystem.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebFileSystem.h" |
| 15 #include "ui/base/keycodes/keyboard_codes.h" |
16 | 16 |
17 class WebURLLoaderMockFactory; | 17 class WebURLLoaderMockFactory; |
18 namespace WebKit { | 18 namespace WebKit { |
19 class WebApplicationCacheHost; | 19 class WebApplicationCacheHost; |
20 class WebApplicationCacheHostClient; | 20 class WebApplicationCacheHostClient; |
21 class WebCString; | 21 class WebCString; |
22 class WebFileSystemCallbacks; | 22 class WebFileSystemCallbacks; |
23 class WebFrame; | 23 class WebFrame; |
24 class WebKitClient; | 24 class WebKitClient; |
25 class WebMediaPlayer; | 25 class WebMediaPlayer; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // - DevTools | 154 // - DevTools |
155 WebKit::WebCString GetDevToolsDebuggerScriptSource(); | 155 WebKit::WebCString GetDevToolsDebuggerScriptSource(); |
156 WebKit::WebURL GetDevToolsPathAsURL(); | 156 WebKit::WebURL GetDevToolsPathAsURL(); |
157 | 157 |
158 // - FileSystem | 158 // - FileSystem |
159 void OpenFileSystem(WebKit::WebFrame* frame, WebKit::WebFileSystem::Type type, | 159 void OpenFileSystem(WebKit::WebFrame* frame, WebKit::WebFileSystem::Type type, |
160 long long size, bool create, WebKit::WebFileSystemCallbacks* callbacks); | 160 long long size, bool create, WebKit::WebFileSystemCallbacks* callbacks); |
161 | 161 |
162 // -------- Keyboard code | 162 // -------- Keyboard code |
163 enum { | 163 enum { |
164 VKEY_LEFT = app::VKEY_LEFT, | 164 VKEY_LEFT = ui::VKEY_LEFT, |
165 VKEY_RIGHT = app::VKEY_RIGHT, | 165 VKEY_RIGHT = ui::VKEY_RIGHT, |
166 VKEY_UP = app::VKEY_UP, | 166 VKEY_UP = ui::VKEY_UP, |
167 VKEY_DOWN = app::VKEY_DOWN, | 167 VKEY_DOWN = ui::VKEY_DOWN, |
168 VKEY_RETURN = app::VKEY_RETURN, | 168 VKEY_RETURN = ui::VKEY_RETURN, |
169 VKEY_INSERT = app::VKEY_INSERT, | 169 VKEY_INSERT = ui::VKEY_INSERT, |
170 VKEY_DELETE = app::VKEY_DELETE, | 170 VKEY_DELETE = ui::VKEY_DELETE, |
171 VKEY_PRIOR = app::VKEY_PRIOR, | 171 VKEY_PRIOR = ui::VKEY_PRIOR, |
172 VKEY_NEXT = app::VKEY_NEXT, | 172 VKEY_NEXT = ui::VKEY_NEXT, |
173 VKEY_HOME = app::VKEY_HOME, | 173 VKEY_HOME = ui::VKEY_HOME, |
174 VKEY_END = app::VKEY_END, | 174 VKEY_END = ui::VKEY_END, |
175 VKEY_SNAPSHOT = app::VKEY_SNAPSHOT, | 175 VKEY_SNAPSHOT = ui::VKEY_SNAPSHOT, |
176 VKEY_F1 = app::VKEY_F1, | 176 VKEY_F1 = ui::VKEY_F1, |
177 }; | 177 }; |
178 | 178 |
179 } // namespace webkit_support | 179 } // namespace webkit_support |
180 | 180 |
181 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ | 181 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ |
OLD | NEW |