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 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/rect.h" |
12 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
13 | 13 |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 14 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 class Layer; | 17 class Layer; |
18 } | 18 } |
19 | 19 |
20 namespace gfx { | 20 namespace gfx { |
21 class JavaBitmap; | 21 class JavaBitmap; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 virtual bool CopyTextureToBitmap(WebKit::WebGLId texture_id, | 120 virtual bool CopyTextureToBitmap(WebKit::WebGLId texture_id, |
121 const gfx::Rect& src_rect, | 121 const gfx::Rect& src_rect, |
122 gfx::JavaBitmap& bitmap) = 0; | 122 gfx::JavaBitmap& bitmap) = 0; |
123 protected: | 123 protected: |
124 Compositor() {} | 124 Compositor() {} |
125 }; | 125 }; |
126 | 126 |
127 } // namespace content | 127 } // namespace content |
128 | 128 |
129 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ | 129 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_ |
OLD | NEW |