OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBKIT_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" | 11 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h
" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien
t.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien
t.h" |
18 #include "ui/base/keycodes/keyboard_codes.h" | 19 #include "ui/base/keycodes/keyboard_codes.h" |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class FilePath; | 22 class FilePath; |
22 } | 23 } |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 #if defined(OS_WIN) || defined(OS_MACOSX) | 263 #if defined(OS_WIN) || defined(OS_MACOSX) |
263 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 264 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
264 WebKit::WebThemeEngine* GetThemeEngine(); | 265 WebKit::WebThemeEngine* GetThemeEngine(); |
265 #endif | 266 #endif |
266 | 267 |
267 // - DevTools | 268 // - DevTools |
268 WebKit::WebURL GetDevToolsPathAsURL(); | 269 WebKit::WebURL GetDevToolsPathAsURL(); |
269 | 270 |
270 // - FileSystem | 271 // - FileSystem |
271 void OpenFileSystem(WebKit::WebFrame* frame, | 272 void OpenFileSystem(WebKit::WebFrame* frame, |
| 273 #ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
| 274 WebKit::WebFileSystemType type, |
| 275 #else |
272 WebKit::WebFileSystem::Type type, | 276 WebKit::WebFileSystem::Type type, |
| 277 #endif |
273 long long size, | 278 long long size, |
274 bool create, | 279 bool create, |
275 WebKit::WebFileSystemCallbacks* callbacks); | 280 WebKit::WebFileSystemCallbacks* callbacks); |
276 void DeleteFileSystem(WebKit::WebFrame* frame, | 281 void DeleteFileSystem(WebKit::WebFrame* frame, |
| 282 #ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
| 283 WebKit::WebFileSystemType type, |
| 284 #else |
277 WebKit::WebFileSystem::Type type, | 285 WebKit::WebFileSystem::Type type, |
| 286 #endif |
278 WebKit::WebFileSystemCallbacks* callbacks); | 287 WebKit::WebFileSystemCallbacks* callbacks); |
279 | 288 |
280 // Returns a filesystem ID for the newly created isolated filesystem. | 289 // Returns a filesystem ID for the newly created isolated filesystem. |
281 WebKit::WebString RegisterIsolatedFileSystem( | 290 WebKit::WebString RegisterIsolatedFileSystem( |
282 const WebKit::WebVector<WebKit::WebString>& filenames); | 291 const WebKit::WebVector<WebKit::WebString>& filenames); |
283 | 292 |
284 // -------- Keyboard code | 293 // -------- Keyboard code |
285 enum { | 294 enum { |
286 VKEY_LEFT = ui::VKEY_LEFT, | 295 VKEY_LEFT = ui::VKEY_LEFT, |
287 VKEY_RIGHT = ui::VKEY_RIGHT, | 296 VKEY_RIGHT = ui::VKEY_RIGHT, |
(...skipping 22 matching lines...) Expand all Loading... |
310 | 319 |
311 void EnableWebCoreLogChannels(const std::string& channels); | 320 void EnableWebCoreLogChannels(const std::string& channels); |
312 | 321 |
313 // - Gamepad | 322 // - Gamepad |
314 | 323 |
315 void SetGamepadData(const WebKit::WebGamepads& pads); | 324 void SetGamepadData(const WebKit::WebGamepads& pads); |
316 | 325 |
317 } // namespace webkit_support | 326 } // namespace webkit_support |
318 | 327 |
319 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 328 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
OLD | NEW |