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

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

Issue 1578353002: Pull the Activity context from WindowAndroid if possible (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@2564
Patch Set: Created 4 years, 11 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
Index: ui/android/resources/resource_manager_impl.h
diff --git a/ui/android/resources/resource_manager_impl.h b/ui/android/resources/resource_manager_impl.h
index 04d59cca9a3130227c00d871133600a80d8e008f..4618a3691b77c8b583ce2d7f21456f0469a8b42c 100644
--- a/ui/android/resources/resource_manager_impl.h
+++ b/ui/android/resources/resource_manager_impl.h
@@ -9,6 +9,7 @@
#include "ui/android/resources/resource_manager.h"
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/rect.h"
+#include "ui/gfx/native_widget_types.h"
namespace ui {
@@ -16,7 +17,7 @@ class UI_ANDROID_EXPORT ResourceManagerImpl : public ResourceManager {
public:
static ResourceManagerImpl* FromJavaObject(jobject jobj);
- ResourceManagerImpl();
+ explicit ResourceManagerImpl(gfx::NativeWindow native_window);
~ResourceManagerImpl() override;
void Init(cc::LayerTreeHost* host);

Powered by Google App Engine
This is Rietveld 408576698