OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/gfx/geometry/size_f.h" | 9 #include "ui/gfx/geometry/size_f.h" |
10 #include "ui/gfx/vector2d_f.h" | 10 #include "ui/gfx/geometry/vector2d_f.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class SynchronousCompositor; | 14 class SynchronousCompositor; |
15 | 15 |
16 class SynchronousCompositorClient { | 16 class SynchronousCompositorClient { |
17 public: | 17 public: |
18 // Indication to the client that |compositor| is now initialized on the | 18 // Indication to the client that |compositor| is now initialized on the |
19 // compositor thread, and open for business. | 19 // compositor thread, and open for business. |
20 virtual void DidInitializeCompositor(SynchronousCompositor* compositor) = 0; | 20 virtual void DidInitializeCompositor(SynchronousCompositor* compositor) = 0; |
(...skipping 29 matching lines...) Expand all Loading... |
50 SynchronousCompositorClient() {} | 50 SynchronousCompositorClient() {} |
51 virtual ~SynchronousCompositorClient() {} | 51 virtual ~SynchronousCompositorClient() {} |
52 | 52 |
53 private: | 53 private: |
54 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); | 54 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace content | 57 } // namespace content |
58 | 58 |
59 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ | 59 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
OLD | NEW |