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 "ui/compositor/compositor.h" | 5 #include "ui/compositor/compositor.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "base/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" |
18 #include "cc/base/switches.h" | 18 #include "cc/base/switches.h" |
19 #include "cc/base/thread_impl.h" | 19 #include "cc/base/thread_impl.h" |
20 #include "cc/input/input_handler.h" | 20 #include "cc/input/input_handler.h" |
21 #include "cc/layers/layer.h" | 21 #include "cc/layers/layer.h" |
22 #include "cc/output/context_provider.h" | 22 #include "cc/output/context_provider.h" |
23 #include "cc/output/output_surface.h" | 23 #include "cc/output/output_surface.h" |
24 #include "cc/trees/layer_tree_host.h" | 24 #include "cc/trees/layer_tree_host.h" |
25 #include "third_party/skia/include/core/SkBitmap.h" | 25 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 COMPOSITOR_EXPORT void DisableTestCompositor() { | 846 COMPOSITOR_EXPORT void DisableTestCompositor() { |
847 ResetImplicitFactory(); | 847 ResetImplicitFactory(); |
848 g_test_compositor_enabled = false; | 848 g_test_compositor_enabled = false; |
849 } | 849 } |
850 | 850 |
851 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() { | 851 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() { |
852 return g_test_compositor_enabled; | 852 return g_test_compositor_enabled; |
853 } | 853 } |
854 | 854 |
855 } // namespace ui | 855 } // namespace ui |
OLD | NEW |