| 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 #include "content/renderer/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "media/base/key_systems.h" | 65 #include "media/base/key_systems.h" |
| 66 #include "media/blink/webcontentdecryptionmodule_impl.h" | 66 #include "media/blink/webcontentdecryptionmodule_impl.h" |
| 67 #include "media/filters/stream_parser_factory.h" | 67 #include "media/filters/stream_parser_factory.h" |
| 68 #include "net/base/mime_util.h" | 68 #include "net/base/mime_util.h" |
| 69 #include "net/base/net_util.h" | 69 #include "net/base/net_util.h" |
| 70 #include "storage/common/database/database_identifier.h" | 70 #include "storage/common/database/database_identifier.h" |
| 71 #include "storage/common/quota/quota_types.h" | 71 #include "storage/common/quota/quota_types.h" |
| 72 #include "third_party/WebKit/public/platform/WebBatteryStatusListener.h" | 72 #include "third_party/WebKit/public/platform/WebBatteryStatusListener.h" |
| 73 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 73 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
| 74 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" | 74 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" |
| 75 #include "third_party/WebKit/public/platform/WebDeviceMotionListener.h" | |
| 76 #include "third_party/WebKit/public/platform/WebDeviceOrientationListener.h" | |
| 77 #include "third_party/WebKit/public/platform/WebFileInfo.h" | 75 #include "third_party/WebKit/public/platform/WebFileInfo.h" |
| 78 #include "third_party/WebKit/public/platform/WebGamepads.h" | 76 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 79 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 77 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
| 80 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" | 78 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" |
| 81 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" | 79 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" |
| 82 #include "third_party/WebKit/public/platform/WebURL.h" | 80 #include "third_party/WebKit/public/platform/WebURL.h" |
| 83 #include "third_party/WebKit/public/platform/WebVector.h" | 81 #include "third_party/WebKit/public/platform/WebVector.h" |
| 82 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionListener.h" |
| 83 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationListener.h" |
| 84 #include "ui/gfx/color_profile.h" | 84 #include "ui/gfx/color_profile.h" |
| 85 #include "url/gurl.h" | 85 #include "url/gurl.h" |
| 86 | 86 |
| 87 #if defined(OS_ANDROID) | 87 #if defined(OS_ANDROID) |
| 88 #include "content/renderer/android/synchronous_compositor_factory.h" | 88 #include "content/renderer/android/synchronous_compositor_factory.h" |
| 89 #include "content/renderer/media/android/audio_decoder_android.h" | 89 #include "content/renderer/media/android/audio_decoder_android.h" |
| 90 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" | 90 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 #if defined(OS_MACOSX) | 93 #if defined(OS_MACOSX) |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 //------------------------------------------------------------------------------ | 1226 //------------------------------------------------------------------------------ |
| 1227 | 1227 |
| 1228 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( | 1228 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( |
| 1229 const blink::WebBatteryStatus& status) { | 1229 const blink::WebBatteryStatus& status) { |
| 1230 if (!g_test_battery_status_listener) | 1230 if (!g_test_battery_status_listener) |
| 1231 return; | 1231 return; |
| 1232 g_test_battery_status_listener->updateBatteryStatus(status); | 1232 g_test_battery_status_listener->updateBatteryStatus(status); |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 } // namespace content | 1235 } // namespace content |
| OLD | NEW |