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_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/android/jni_android.h" | 11 #include "base/android/jni_android.h" |
12 #include "base/android/jni_weak_ref.h" | 12 #include "base/android/jni_weak_ref.h" |
13 #include "base/android/scoped_java_ref.h" | 13 #include "base/android/scoped_java_ref.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" | 15 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" |
16 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" | 16 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class Layer; | 19 class Layer; |
20 class SolidColorLayer; | |
21 } | 20 } |
22 | 21 |
23 namespace android { | 22 namespace android { |
24 | 23 |
25 class ContextualSearchLayer; | 24 class ContextualSearchLayer; |
26 | 25 |
27 class ContextualSearchSceneLayer : public SceneLayer, | 26 class ContextualSearchSceneLayer : public SceneLayer, |
28 public chrome::BitmapFetcherDelegate { | 27 public chrome::BitmapFetcherDelegate { |
29 public: | 28 public: |
30 ContextualSearchSceneLayer(JNIEnv* env, jobject jobj); | 29 ContextualSearchSceneLayer(JNIEnv* env, jobject jobj); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 scoped_refptr<cc::Layer> content_container_; | 132 scoped_refptr<cc::Layer> content_container_; |
134 | 133 |
135 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); | 134 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); |
136 }; | 135 }; |
137 | 136 |
138 bool RegisterContextualSearchSceneLayer(JNIEnv* env); | 137 bool RegisterContextualSearchSceneLayer(JNIEnv* env); |
139 | 138 |
140 } // namespace android | 139 } // namespace android |
141 | 140 |
142 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE
_LAYER_H_ | 141 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE
_LAYER_H_ |
OLD | NEW |