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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "ui/gl/gpu_switching_manager.h" | 44 #include "ui/gl/gpu_switching_manager.h" |
45 #include "ui/gl/init/gl_factory.h" | 45 #include "ui/gl/init/gl_factory.h" |
46 | 46 |
47 #if defined(OS_WIN) | 47 #if defined(OS_WIN) |
48 #include <dwmapi.h> | 48 #include <dwmapi.h> |
49 #include <windows.h> | 49 #include <windows.h> |
50 #endif | 50 #endif |
51 | 51 |
52 #if defined(OS_ANDROID) | 52 #if defined(OS_ANDROID) |
53 #include "base/trace_event/memory_dump_manager.h" | 53 #include "base/trace_event/memory_dump_manager.h" |
54 #include "components/tracing/graphics_memory_dump_provider_android.h" | 54 #include "components/tracing/common/graphics_memory_dump_provider_android.h" |
55 #endif | 55 #endif |
56 | 56 |
57 #if defined(OS_WIN) | 57 #if defined(OS_WIN) |
58 #include "base/win/scoped_com_initializer.h" | 58 #include "base/win/scoped_com_initializer.h" |
59 #include "base/win/windows_version.h" | 59 #include "base/win/windows_version.h" |
60 #include "media/gpu/dxva_video_decode_accelerator_win.h" | 60 #include "media/gpu/dxva_video_decode_accelerator_win.h" |
61 #include "sandbox/win/src/sandbox.h" | 61 #include "sandbox/win/src/sandbox.h" |
62 #endif | 62 #endif |
63 | 63 |
64 #if defined(USE_X11) | 64 #if defined(USE_X11) |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 return true; | 617 return true; |
618 } | 618 } |
619 | 619 |
620 return false; | 620 return false; |
621 } | 621 } |
622 #endif // defined(OS_WIN) | 622 #endif // defined(OS_WIN) |
623 | 623 |
624 } // namespace. | 624 } // namespace. |
625 | 625 |
626 } // namespace content | 626 } // namespace content |
OLD | NEW |