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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 scoped_ptr<RendererClipboardDelegate> clipboard_delegate_; | 209 scoped_ptr<RendererClipboardDelegate> clipboard_delegate_; |
210 scoped_ptr<WebClipboardImpl> clipboard_; | 210 scoped_ptr<WebClipboardImpl> clipboard_; |
211 | 211 |
212 class FileUtilities; | 212 class FileUtilities; |
213 scoped_ptr<FileUtilities> file_utilities_; | 213 scoped_ptr<FileUtilities> file_utilities_; |
214 | 214 |
215 class MimeRegistry; | 215 class MimeRegistry; |
216 scoped_ptr<MimeRegistry> mime_registry_; | 216 scoped_ptr<MimeRegistry> mime_registry_; |
217 | 217 |
| 218 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
218 class SandboxSupport; | 219 class SandboxSupport; |
219 scoped_ptr<SandboxSupport> sandbox_support_; | 220 scoped_ptr<SandboxSupport> sandbox_support_; |
| 221 #endif |
220 | 222 |
221 // This counter keeps track of the number of times sudden termination is | 223 // This counter keeps track of the number of times sudden termination is |
222 // enabled or disabled. It starts at 0 (enabled) and for every disable | 224 // enabled or disabled. It starts at 0 (enabled) and for every disable |
223 // increments by 1, for every enable decrements by 1. When it reaches 0, | 225 // increments by 1, for every enable decrements by 1. When it reaches 0, |
224 // we tell the browser to enable fast termination. | 226 // we tell the browser to enable fast termination. |
225 int sudden_termination_disables_; | 227 int sudden_termination_disables_; |
226 | 228 |
227 // If true, then a GetPlugins call is allowed to rescan the disk. | 229 // If true, then a GetPlugins call is allowed to rescan the disk. |
228 bool plugin_refresh_allowed_; | 230 bool plugin_refresh_allowed_; |
229 | 231 |
(...skipping 24 matching lines...) Expand all Loading... |
254 device::VibrationManagerPtr vibration_manager_; | 256 device::VibrationManagerPtr vibration_manager_; |
255 | 257 |
256 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 258 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
257 | 259 |
258 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 260 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
259 }; | 261 }; |
260 | 262 |
261 } // namespace content | 263 } // namespace content |
262 | 264 |
263 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 265 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |