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_SCENE_LAYER_SCENE_LAYER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "cc/layers/layer.h" | 14 #include "cc/layers/layer.h" |
15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
16 | 16 |
17 namespace chrome { | 17 namespace chrome { |
18 namespace android { | 18 namespace android { |
19 | 19 |
20 // A native-side, cc::Layer based representation of how a scene should be drawn. | 20 // A native-side, cc::Layer based representation of how a scene should be drawn. |
21 // Basically, this is a wrapper around cc::Layer and bridge with its Java | 21 // Basically, this is a wrapper around cc::Layer and bridge with its Java |
22 // counterpart. | 22 // counterpart. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 private: | 55 private: |
56 DISALLOW_COPY_AND_ASSIGN(SceneLayer); | 56 DISALLOW_COPY_AND_ASSIGN(SceneLayer); |
57 }; | 57 }; |
58 | 58 |
59 bool RegisterSceneLayer(JNIEnv* env); | 59 bool RegisterSceneLayer(JNIEnv* env); |
60 | 60 |
61 } // namespace android | 61 } // namespace android |
62 } // namespace chrome | 62 } // namespace chrome |
63 | 63 |
64 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ | 64 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ |
OLD | NEW |