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 CC_TREES_LAYER_TREE_HOST_CLIENT_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_CLIENT_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual scoped_refptr<cc::ContextProvider> | 45 virtual scoped_refptr<cc::ContextProvider> |
46 OffscreenContextProviderForCompositorThread() = 0; | 46 OffscreenContextProviderForCompositorThread() = 0; |
47 | 47 |
48 // This hook is for testing. | 48 // This hook is for testing. |
49 virtual void WillRetryRecreateOutputSurface() {} | 49 virtual void WillRetryRecreateOutputSurface() {} |
50 | 50 |
51 protected: | 51 protected: |
52 virtual ~LayerTreeHostClient() {} | 52 virtual ~LayerTreeHostClient() {} |
53 }; | 53 }; |
54 | 54 |
55 } | 55 } // namespace cc |
56 | 56 |
57 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_ | 57 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_ |
OLD | NEW |