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 "base/macros.h" |
14 #include "cc/resources/ui_resource_client.h" | 15 #include "cc/resources/ui_resource_client.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
17 #include "ui/gfx/transform.h" | 18 #include "ui/gfx/transform.h" |
18 | 19 |
19 namespace cc { | 20 namespace cc { |
20 class Layer; | 21 class Layer; |
21 class UIResourceLayer; | 22 class UIResourceLayer; |
22 } | 23 } |
23 | 24 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 90 |
90 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); | 91 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); |
91 }; | 92 }; |
92 | 93 |
93 bool RegisterLayerTitleCache(JNIEnv* env); | 94 bool RegisterLayerTitleCache(JNIEnv* env); |
94 | 95 |
95 } // namespace android | 96 } // namespace android |
96 } // namespace chrome | 97 } // namespace chrome |
97 | 98 |
98 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ | 99 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ |
OLD | NEW |