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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <dwmapi.h> | 8 #include <dwmapi.h> |
9 #include <windows.h> | 9 #include <windows.h> |
10 #endif | 10 #endif |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "gpu/config/gpu_util.h" | 34 #include "gpu/config/gpu_util.h" |
35 #include "ui/gl/gl_implementation.h" | 35 #include "ui/gl/gl_implementation.h" |
36 #include "ui/gl/gl_surface.h" | 36 #include "ui/gl/gl_surface.h" |
37 #include "ui/gl/gl_switches.h" | 37 #include "ui/gl/gl_switches.h" |
38 #include "ui/gl/gpu_switching_manager.h" | 38 #include "ui/gl/gpu_switching_manager.h" |
39 | 39 |
40 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
41 #include "base/win/windows_version.h" | 41 #include "base/win/windows_version.h" |
42 #include "base/win/scoped_com_initializer.h" | 42 #include "base/win/scoped_com_initializer.h" |
43 #include "sandbox/win/src/sandbox.h" | 43 #include "sandbox/win/src/sandbox.h" |
44 #elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) | |
45 #include "content/common/gpu/media/exynos_video_decode_accelerator.h" | |
46 #elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) | |
47 #include "content/common/gpu/media/vaapi_wrapper.h" | |
48 #endif | 44 #endif |
49 | 45 |
50 #if defined(USE_X11) | 46 #if defined(USE_X11) |
51 #include "ui/base/x/x11_util.h" | 47 #include "ui/base/x/x11_util.h" |
52 #endif | 48 #endif |
53 | 49 |
54 #if defined(OS_LINUX) | 50 #if defined(OS_LINUX) |
55 #include "content/public/common/sandbox_init.h" | 51 #include "content/public/common/sandbox_init.h" |
56 #endif | 52 #endif |
57 | 53 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 return true; | 435 return true; |
440 } | 436 } |
441 | 437 |
442 return false; | 438 return false; |
443 } | 439 } |
444 #endif // defined(OS_WIN) | 440 #endif // defined(OS_WIN) |
445 | 441 |
446 } // namespace. | 442 } // namespace. |
447 | 443 |
448 } // namespace content | 444 } // namespace content |
OLD | NEW |