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/vector2d_f.h" | 10 #include "ui/gfx/vector2d_f.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 class SynchronousCompositor; | 14 class SynchronousCompositor; |
14 | 15 |
15 class SynchronousCompositorClient { | 16 class SynchronousCompositorClient { |
16 public: | 17 public: |
17 // Indication to the client that |compositor| is now initialized on the | 18 // Indication to the client that |compositor| is now initialized on the |
18 // compositor thread, and open for business. | 19 // compositor thread, and open for business. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 SynchronousCompositorClient() {} | 52 SynchronousCompositorClient() {} |
52 virtual ~SynchronousCompositorClient() {} | 53 virtual ~SynchronousCompositorClient() {} |
53 | 54 |
54 private: | 55 private: |
55 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); | 56 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace content | 59 } // namespace content |
59 | 60 |
60 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ | 61 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
OLD | NEW |