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 CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 12 #include "base/id_map.h" |
| 13 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "build/build_config.h" |
11 #include "cc/blink/web_compositor_support_impl.h" | 16 #include "cc/blink/web_compositor_support_impl.h" |
12 #include "content/child/blink_platform_impl.h" | 17 #include "content/child/blink_platform_impl.h" |
13 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
14 #include "content/renderer/webpublicsuffixlist_impl.h" | 19 #include "content/renderer/webpublicsuffixlist_impl.h" |
15 #include "device/vibration/vibration_manager.mojom.h" | 20 #include "device/vibration/vibration_manager.mojom.h" |
16 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 21 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" | 22 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" |
18 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 23 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
19 | 24 |
20 namespace cc { | 25 namespace cc { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 blink::WebThemeEngine* themeEngine() override; | 81 blink::WebThemeEngine* themeEngine() override; |
77 blink::WebSpeechSynthesizer* createSpeechSynthesizer( | 82 blink::WebSpeechSynthesizer* createSpeechSynthesizer( |
78 blink::WebSpeechSynthesizerClient* client) override; | 83 blink::WebSpeechSynthesizerClient* client) override; |
79 virtual bool sandboxEnabled(); | 84 virtual bool sandboxEnabled(); |
80 unsigned long long visitedLinkHash(const char* canonicalURL, | 85 unsigned long long visitedLinkHash(const char* canonicalURL, |
81 size_t length) override; | 86 size_t length) override; |
82 bool isLinkVisited(unsigned long long linkHash) override; | 87 bool isLinkVisited(unsigned long long linkHash) override; |
83 void createMessageChannel(blink::WebMessagePortChannel** channel1, | 88 void createMessageChannel(blink::WebMessagePortChannel** channel1, |
84 blink::WebMessagePortChannel** channel2) override; | 89 blink::WebMessagePortChannel** channel2) override; |
85 blink::WebPrescientNetworking* prescientNetworking() override; | 90 blink::WebPrescientNetworking* prescientNetworking() override; |
86 void cacheMetadata(const blink::WebURL&, int64, const char*, size_t) override; | 91 void cacheMetadata(const blink::WebURL&, |
| 92 int64_t, |
| 93 const char*, |
| 94 size_t) override; |
87 blink::WebString defaultLocale() override; | 95 blink::WebString defaultLocale() override; |
88 void suddenTerminationChanged(bool enabled) override; | 96 void suddenTerminationChanged(bool enabled) override; |
89 blink::WebStorageNamespace* createLocalStorageNamespace() override; | 97 blink::WebStorageNamespace* createLocalStorageNamespace() override; |
90 blink::Platform::FileHandle databaseOpenFile( | 98 blink::Platform::FileHandle databaseOpenFile( |
91 const blink::WebString& vfs_file_name, | 99 const blink::WebString& vfs_file_name, |
92 int desired_flags) override; | 100 int desired_flags) override; |
93 int databaseDeleteFile(const blink::WebString& vfs_file_name, | 101 int databaseDeleteFile(const blink::WebString& vfs_file_name, |
94 bool sync_dir) override; | 102 bool sync_dir) override; |
95 long databaseGetFileAttributes( | 103 long databaseGetFileAttributes( |
96 const blink::WebString& vfs_file_name) override; | 104 const blink::WebString& vfs_file_name) override; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 290 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
283 | 291 |
284 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 292 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
285 | 293 |
286 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 294 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
287 }; | 295 }; |
288 | 296 |
289 } // namespace content | 297 } // namespace content |
290 | 298 |
291 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 299 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |