OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef FakeCCProxy_h | 5 #ifndef FakeCCProxy_h |
6 #define FakeCCProxy_h | 6 #define FakeCCProxy_h |
7 | 7 |
8 #include "config.h" | |
9 | |
10 #include "cc/layer_tree_host.h" | 8 #include "cc/layer_tree_host.h" |
11 #include "cc/proxy.h" | 9 #include "cc/proxy.h" |
12 #include "cc/thread.h" | 10 #include "cc/thread.h" |
13 | 11 |
14 namespace cc { | 12 namespace cc { |
15 | 13 |
16 class FakeProxy : public Proxy { | 14 class FakeProxy : public Proxy { |
17 public: | 15 public: |
18 explicit FakeProxy(scoped_ptr<Thread> implThread) : Proxy(implThread.Pass())
{ } | 16 explicit FakeProxy(scoped_ptr<Thread> implThread) : Proxy(implThread.Pass())
{ } |
19 | 17 |
(...skipping 21 matching lines...) Expand all Loading... |
41 virtual void acquireLayerTextures() OVERRIDE { } | 39 virtual void acquireLayerTextures() OVERRIDE { } |
42 virtual void loseContext() OVERRIDE { } | 40 virtual void loseContext() OVERRIDE { } |
43 | 41 |
44 private: | 42 private: |
45 RendererCapabilities m_capabilities; | 43 RendererCapabilities m_capabilities; |
46 }; | 44 }; |
47 | 45 |
48 } | 46 } |
49 | 47 |
50 #endif | 48 #endif |
OLD | NEW |