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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "ui/gl/gpu_switching_manager.h" | 48 #include "ui/gl/gpu_switching_manager.h" |
49 | 49 |
50 #if defined(OS_ANDROID) | 50 #if defined(OS_ANDROID) |
51 #include "base/trace_event/memory_dump_manager.h" | 51 #include "base/trace_event/memory_dump_manager.h" |
52 #include "components/tracing/graphics_memory_dump_provider_android.h" | 52 #include "components/tracing/graphics_memory_dump_provider_android.h" |
53 #endif | 53 #endif |
54 | 54 |
55 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
56 #include "base/win/windows_version.h" | 56 #include "base/win/windows_version.h" |
57 #include "base/win/scoped_com_initializer.h" | 57 #include "base/win/scoped_com_initializer.h" |
58 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" | 58 #include "content/common/gpu/media/dxva_video_decode_accelerator_win.h" |
59 #include "sandbox/win/src/sandbox.h" | 59 #include "sandbox/win/src/sandbox.h" |
60 #endif | 60 #endif |
61 | 61 |
62 #if defined(USE_X11) | 62 #if defined(USE_X11) |
63 #include "ui/base/x/x11_util.h" | 63 #include "ui/base/x/x11_util.h" |
64 #include "ui/gfx/x/x11_switches.h" | 64 #include "ui/gfx/x/x11_switches.h" |
65 #endif | 65 #endif |
66 | 66 |
67 #if defined(OS_LINUX) | 67 #if defined(OS_LINUX) |
68 #include "content/public/common/sandbox_init.h" | 68 #include "content/public/common/sandbox_init.h" |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 return true; | 576 return true; |
577 } | 577 } |
578 | 578 |
579 return false; | 579 return false; |
580 } | 580 } |
581 #endif // defined(OS_WIN) | 581 #endif // defined(OS_WIN) |
582 | 582 |
583 } // namespace. | 583 } // namespace. |
584 | 584 |
585 } // namespace content | 585 } // namespace content |
OLD | NEW |