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 UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ | 5 #ifndef UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ |
6 #define UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ | 6 #define UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ |
7 | 7 |
8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/macros.h" |
9 #include "ui/android/resources/resource_manager.h" | 10 #include "ui/android/resources/resource_manager.h" |
10 #include "ui/android/ui_android_export.h" | 11 #include "ui/android/ui_android_export.h" |
11 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
13 | 14 |
14 namespace ui { | 15 namespace ui { |
15 | 16 |
16 class UI_ANDROID_EXPORT ResourceManagerImpl : public ResourceManager { | 17 class UI_ANDROID_EXPORT ResourceManagerImpl : public ResourceManager { |
17 public: | 18 public: |
18 static ResourceManagerImpl* FromJavaObject(jobject jobj); | 19 static ResourceManagerImpl* FromJavaObject(jobject jobj); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 CrushedSpriteResourceMap crushed_sprite_resources_; | 88 CrushedSpriteResourceMap crushed_sprite_resources_; |
88 | 89 |
89 base::android::ScopedJavaGlobalRef<jobject> java_obj_; | 90 base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(ResourceManagerImpl); | 92 DISALLOW_COPY_AND_ASSIGN(ResourceManagerImpl); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace ui | 95 } // namespace ui |
95 | 96 |
96 #endif // UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ | 97 #endif // UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ |
OLD | NEW |