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/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "cc/layers/ui_resource_layer.h" | 16 #include "cc/layers/ui_resource_layer.h" |
16 #include "chrome/browser/android/thumbnail/thumbnail_cache.h" | 17 #include "chrome/browser/android/thumbnail/thumbnail_cache.h" |
17 | 18 |
18 using base::android::ScopedJavaLocalRef; | 19 using base::android::ScopedJavaLocalRef; |
19 | 20 |
20 namespace cc { | 21 namespace cc { |
21 class CopyOutputResult; | 22 class CopyOutputResult; |
22 class Layer; | 23 class Layer; |
23 } | 24 } |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(TabContentManager); | 128 DISALLOW_COPY_AND_ASSIGN(TabContentManager); |
128 }; | 129 }; |
129 | 130 |
130 bool RegisterTabContentManager(JNIEnv* env); | 131 bool RegisterTabContentManager(JNIEnv* env); |
131 | 132 |
132 } // namespace android | 133 } // namespace android |
133 } // namespace chrome | 134 } // namespace chrome |
134 | 135 |
135 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ | 136 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_TAB_CONTENT_MANAGER_H_ |
OLD | NEW |