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