OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "webkit/glue/webkit_glue.h" | 5 #include "webkit/glue/webkit_glue.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <objidl.h> | 8 #include <objidl.h> |
9 #include <mlang.h> | 9 #include <mlang.h> |
10 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 10 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/synchronization/lock.h" | 22 #include "base/synchronization/lock.h" |
23 #include "base/sys_info.h" | 23 #include "base/sys_info.h" |
24 #include "base/sys_string_conversions.h" | 24 #include "base/sys_string_conversions.h" |
25 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
26 #include "net/base/escape.h" | 26 #include "net/base/escape.h" |
27 #include "skia/ext/platform_canvas.h" | 27 #include "skia/ext/platform_canvas.h" |
28 #if defined(OS_MACOSX) | 28 #if defined(OS_MACOSX) |
29 #include "skia/ext/skia_utils_mac.h" | 29 #include "skia/ext/skia_utils_mac.h" |
30 #endif | 30 #endif |
31 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGlyphCache.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGlyphCache.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImage.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebImage.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
45 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" |
47 #endif | 47 #endif |
48 #include "v8/include/v8.h" | 48 #include "v8/include/v8.h" |
49 #include "webkit/glue/glue_serialize.h" | 49 #include "webkit/glue/glue_serialize.h" |
50 #include "webkit/glue/user_agent.h" | 50 #include "webkit/glue/user_agent.h" |
51 | 51 |
52 using WebKit::WebCanvas; | 52 using WebKit::WebCanvas; |
53 using WebKit::WebData; | 53 using WebKit::WebData; |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 std::string GetInspectorProtocolVersion() { | 489 std::string GetInspectorProtocolVersion() { |
490 return WebDevToolsAgent::inspectorProtocolVersion().utf8(); | 490 return WebDevToolsAgent::inspectorProtocolVersion().utf8(); |
491 } | 491 } |
492 | 492 |
493 bool IsInspectorProtocolVersionSupported(const std::string& version) { | 493 bool IsInspectorProtocolVersionSupported(const std::string& version) { |
494 return WebDevToolsAgent::supportsInspectorProtocolVersion( | 494 return WebDevToolsAgent::supportsInspectorProtocolVersion( |
495 WebString::fromUTF8(version)); | 495 WebString::fromUTF8(version)); |
496 } | 496 } |
497 | 497 |
498 } // namespace webkit_glue | 498 } // namespace webkit_glue |
OLD | NEW |