Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: chrome/browser/android/compositor/scene_layer/scene_layer.h

Issue 1054963009: Fix forward declartion in scene_layer.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/basictypes.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "cc/layers/layer.h"
14 #include "third_party/skia/include/core/SkColor.h" 15 #include "third_party/skia/include/core/SkColor.h"
15 16
16 namespace cc {
17 class Layer;
18 }
19
20 namespace chrome { 17 namespace chrome {
21 namespace android { 18 namespace android {
22 19
23 // 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.
24 // 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
25 // counterpart. 22 // counterpart.
26 class SceneLayer { 23 class SceneLayer {
27 public: 24 public:
28 static SceneLayer* FromJavaObject(JNIEnv* env, jobject jobj); 25 static SceneLayer* FromJavaObject(JNIEnv* env, jobject jobj);
29 26
(...skipping 27 matching lines...) Expand all
57 private: 54 private:
58 DISALLOW_COPY_AND_ASSIGN(SceneLayer); 55 DISALLOW_COPY_AND_ASSIGN(SceneLayer);
59 }; 56 };
60 57
61 bool RegisterSceneLayer(JNIEnv* env); 58 bool RegisterSceneLayer(JNIEnv* env);
62 59
63 } // namespace android 60 } // namespace android
64 } // namespace chrome 61 } // namespace chrome
65 62
66 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_ 63 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_SCENE_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698