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 "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" | 5 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/common/child_process_messages.h" | 13 #include "content/common/child_process_messages.h" |
14 #include "content/common/child_thread.h" | 14 #include "content/common/child_thread.h" |
15 #include "ipc/ipc_sync_message_filter.h" | 15 #include "ipc/ipc_sync_message_filter.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebSandboxSupport
.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebSandb
oxSupport.h" |
21 #elif defined(OS_MACOSX) | 21 #elif defined(OS_MACOSX) |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport
.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/mac/WebSandb
oxSupport.h" |
23 #elif defined(OS_POSIX) | 23 #elif defined(OS_POSIX) |
24 #include "content/common/child_process_sandbox_support_impl_linux.h" | 24 #include "content/common/child_process_sandbox_support_impl_linux.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontFamily.h
" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebFon
tFamily.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebSandboxSuppo
rt.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebSan
dboxSupport.h" |
27 #endif | 27 #endif |
28 | 28 |
29 using WebKit::WebSandboxSupport; | 29 using WebKit::WebSandboxSupport; |
30 using WebKit::WebString; | 30 using WebKit::WebString; |
31 using WebKit::WebUChar; | 31 using WebKit::WebUChar; |
32 | 32 |
33 typedef struct CGFont* CGFontRef; | 33 typedef struct CGFont* CGFontRef; |
34 | 34 |
35 class PpapiWebKitPlatformSupportImpl::SandboxSupport : public WebSandboxSupport
{ | 35 class PpapiWebKitPlatformSupportImpl::SandboxSupport : public WebSandboxSupport
{ |
36 public: | 36 public: |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 } | 248 } |
249 | 249 |
250 WebKit::WebSerializedScriptValue | 250 WebKit::WebSerializedScriptValue |
251 PpapiWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue( | 251 PpapiWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue( |
252 const WebKit::WebIDBKey& key, | 252 const WebKit::WebIDBKey& key, |
253 const WebKit::WebSerializedScriptValue& value, | 253 const WebKit::WebSerializedScriptValue& value, |
254 const WebKit::WebString& keyPath) { | 254 const WebKit::WebString& keyPath) { |
255 NOTREACHED(); | 255 NOTREACHED(); |
256 return WebKit::WebSerializedScriptValue(); | 256 return WebKit::WebSerializedScriptValue(); |
257 } | 257 } |
OLD | NEW |