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_TAB_CONTENT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_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/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/containers/scoped_ptr_hash_map.h" | 13 #include "base/containers/scoped_ptr_hash_map.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "cc/layers/ui_resource_layer.h" | 16 #include "cc/layers/ui_resource_layer.h" |
17 #include "chrome/browser/android/thumbnail/thumbnail_cache.h" | 17 #include "chrome/browser/android/thumbnail/thumbnail_cache.h" |
18 | 18 |
19 using base::android::ScopedJavaLocalRef; | 19 using base::android::ScopedJavaLocalRef; |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
22 class CopyOutputResult; | |
23 class Layer; | 22 class Layer; |
24 } | 23 } |
25 | 24 |
26 namespace ui { | 25 namespace ui { |
27 class UIResourceProvider; | 26 class UIResourceProvider; |
28 } | 27 } |
29 | 28 |
30 namespace android { | 29 namespace android { |
31 | 30 |
32 class ThumbnailLayer; | 31 class ThumbnailLayer; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 base::WeakPtrFactory<TabContentManager> weak_factory_; | 119 base::WeakPtrFactory<TabContentManager> weak_factory_; |
121 | 120 |
122 DISALLOW_COPY_AND_ASSIGN(TabContentManager); | 121 DISALLOW_COPY_AND_ASSIGN(TabContentManager); |
123 }; | 122 }; |
124 | 123 |
125 bool RegisterTabContentManager(JNIEnv* env); | 124 bool RegisterTabContentManager(JNIEnv* env); |
126 | 125 |
127 } // namespace android | 126 } // namespace android |
128 | 127 |
129 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ | 128 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ |
OLD | NEW |