OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LAYER_TITLE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_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/jni_weak_ref.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
14 #include "cc/resources/ui_resource_client.h" | 14 #include "cc/resources/ui_resource_client.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/geometry/size.h" |
17 #include "ui/gfx/transform.h" | 17 #include "ui/gfx/transform.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 class Layer; | 20 class Layer; |
21 class UIResourceLayer; | 21 class UIResourceLayer; |
22 } | 22 } |
23 | 23 |
24 namespace ui { | 24 namespace ui { |
25 class ResourceManager; | 25 class ResourceManager; |
26 } | 26 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); | 82 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); |
83 }; | 83 }; |
84 | 84 |
85 bool RegisterLayerTitleCache(JNIEnv* env); | 85 bool RegisterLayerTitleCache(JNIEnv* env); |
86 | 86 |
87 } // namespace android | 87 } // namespace android |
88 } // namespace chrome | 88 } // namespace chrome |
89 | 89 |
90 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ | 90 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ |
OLD | NEW |