Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: ui/android/resources/resource_manager.h

Issue 1371523003: Android: Don't destroy LayerTreeHost when Surface goes away (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/DEPS ('k') | ui/android/resources/resource_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager.h
diff --git a/ui/android/resources/resource_manager.h b/ui/android/resources/resource_manager.h
index bdac39b243569aaafa0cdeeb7f7e66b819b048d2..add8cda452f48082e0807ae8049463866335f28e 100644
--- a/ui/android/resources/resource_manager.h
+++ b/ui/android/resources/resource_manager.h
@@ -7,8 +7,7 @@
#include "base/android/jni_android.h"
#include "base/memory/scoped_ptr.h"
-#include "cc/resources/ui_resource_client.h"
-#include "ui/android/resources/ui_resource_android.h"
+#include "cc/resources/scoped_ui_resource.h"
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/insets_f.h"
#include "ui/gfx/geometry/rect.h"
@@ -16,7 +15,6 @@
namespace ui {
-class UIResourceAndroid;
class UIResourceProvider;
// A Java counterpart will be generated for this enum.
@@ -43,7 +41,7 @@ class UI_ANDROID_EXPORT ResourceManager {
gfx::Rect Border(const gfx::Size& bounds) const;
gfx::Rect Border(const gfx::Size& bounds, const gfx::InsetsF& scale) const;
- scoped_ptr<UIResourceAndroid> ui_resource;
+ scoped_ptr<cc::ScopedUIResource> ui_resource;
gfx::Size size;
gfx::Rect padding;
gfx::Rect aperture;
« no previous file with comments | « ui/android/DEPS ('k') | ui/android/resources/resource_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698