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 "base/macros.h" |
15 #include "cc/resources/ui_resource_client.h" | 15 #include "cc/resources/ui_resource_client.h" |
16 #include "ui/gfx/geometry/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; | |
22 } | 21 } |
23 | 22 |
24 namespace ui { | 23 namespace ui { |
25 class ResourceManager; | 24 class ResourceManager; |
26 } | 25 } |
27 | 26 |
28 namespace android { | 27 namespace android { |
29 | 28 |
30 class DecorationTitle; | 29 class DecorationTitle; |
31 | 30 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ui::ResourceManager* resource_manager_; | 86 ui::ResourceManager* resource_manager_; |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); | 88 DISALLOW_COPY_AND_ASSIGN(LayerTitleCache); |
90 }; | 89 }; |
91 | 90 |
92 bool RegisterLayerTitleCache(JNIEnv* env); | 91 bool RegisterLayerTitleCache(JNIEnv* env); |
93 | 92 |
94 } // namespace android | 93 } // namespace android |
95 | 94 |
96 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ | 95 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TITLE_CACHE_H_ |
OLD | NEW |