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 "android_webview/lib/main/aw_main_delegate.h" | 5 #include "android_webview/lib/main/aw_main_delegate.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "android_webview/browser/aw_content_browser_client.h" | 9 #include "android_webview/browser/aw_content_browser_client.h" |
10 #include "android_webview/browser/browser_view_renderer.h" | 10 #include "android_webview/browser/browser_view_renderer.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "android_webview/renderer/aw_content_renderer_client.h" | 24 #include "android_webview/renderer/aw_content_renderer_client.h" |
25 #include "base/android/apk_assets.h" | 25 #include "base/android/apk_assets.h" |
26 #include "base/command_line.h" | 26 #include "base/command_line.h" |
27 #include "base/cpu.h" | 27 #include "base/cpu.h" |
28 #include "base/i18n/icu_util.h" | 28 #include "base/i18n/icu_util.h" |
29 #include "base/lazy_instance.h" | 29 #include "base/lazy_instance.h" |
30 #include "base/logging.h" | 30 #include "base/logging.h" |
31 #include "base/threading/thread_restrictions.h" | 31 #include "base/threading/thread_restrictions.h" |
32 #include "cc/base/switches.h" | 32 #include "cc/base/switches.h" |
33 #include "components/crash/content/app/breakpad_linux.h" | 33 #include "components/crash/content/app/breakpad_linux.h" |
34 #include "components/external_video_surface/browser/android/external_video_surfa
ce_container_impl.h" | |
35 #include "content/public/browser/android/browser_media_player_manager_register.h
" | 34 #include "content/public/browser/android/browser_media_player_manager_register.h
" |
36 #include "content/public/browser/browser_main_runner.h" | 35 #include "content/public/browser/browser_main_runner.h" |
37 #include "content/public/browser/browser_thread.h" | 36 #include "content/public/browser/browser_thread.h" |
38 #include "content/public/common/content_descriptors.h" | 37 #include "content/public/common/content_descriptors.h" |
39 #include "content/public/common/content_switches.h" | 38 #include "content/public/common/content_switches.h" |
40 #include "gin/public/isolate_holder.h" | 39 #include "gin/public/isolate_holder.h" |
41 #include "gin/v8_initializer.h" | 40 #include "gin/v8_initializer.h" |
42 #include "gpu/command_buffer/client/gl_in_process_context.h" | 41 #include "gpu/command_buffer/client/gl_in_process_context.h" |
43 #include "gpu/command_buffer/service/gpu_switches.h" | 42 #include "gpu/command_buffer/service/gpu_switches.h" |
44 #include "media/base/media_switches.h" | 43 #include "media/base/media_switches.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 251 } |
253 | 252 |
254 AwMessagePortService* AwMainDelegate::CreateAwMessagePortService() { | 253 AwMessagePortService* AwMainDelegate::CreateAwMessagePortService() { |
255 return new AwMessagePortServiceImpl(); | 254 return new AwMessagePortServiceImpl(); |
256 } | 255 } |
257 | 256 |
258 AwLocaleManager* AwMainDelegate::CreateAwLocaleManager() { | 257 AwLocaleManager* AwMainDelegate::CreateAwLocaleManager() { |
259 return new AwLocaleManagerImpl(); | 258 return new AwLocaleManagerImpl(); |
260 } | 259 } |
261 | 260 |
262 #if defined(VIDEO_HOLE) | |
263 content::ExternalVideoSurfaceContainer* | |
264 AwMainDelegate::CreateExternalVideoSurfaceContainer( | |
265 content::WebContents* web_contents) { | |
266 return external_video_surface::ExternalVideoSurfaceContainerImpl::Create( | |
267 web_contents); | |
268 } | |
269 #endif | |
270 | |
271 } // namespace android_webview | 261 } // namespace android_webview |
OLD | NEW |