OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
12 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "cc/layers/layer_lists.h" | 15 #include "cc/layers/layer_lists.h" |
15 #include "cc/resources/ui_resource_client.h" | 16 #include "cc/resources/ui_resource_client.h" |
16 #include "content/public/browser/android/compositor_client.h" | 17 #include "content/public/browser/android/compositor_client.h" |
17 #include "content/public/browser/browser_child_process_observer.h" | 18 #include "content/public/browser/browser_child_process_observer.h" |
18 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
19 | 20 |
20 class DecorationBackground; | 21 class DecorationBackground; |
21 class DecorationCounter; | 22 class DecorationCounter; |
22 class SkBitmap; | 23 class SkBitmap; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 163 |
163 DISALLOW_COPY_AND_ASSIGN(CompositorView); | 164 DISALLOW_COPY_AND_ASSIGN(CompositorView); |
164 }; | 165 }; |
165 | 166 |
166 bool RegisterCompositorView(JNIEnv* env); | 167 bool RegisterCompositorView(JNIEnv* env); |
167 | 168 |
168 } // namespace android | 169 } // namespace android |
169 } // namespace chrome | 170 } // namespace chrome |
170 | 171 |
171 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ | 172 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ |
OLD | NEW |