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

Unified Diff: ui/android/window_android.h

Issue 1419843002: Hold a reference to any kind of context in WindowAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass Context instead of WindowAndroid from native ResourceManager to java side. Created 5 years, 2 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/window_android.h
diff --git a/ui/android/window_android.h b/ui/android/window_android.h
index 58f1e280bd6a9639ac9368cce647ed9a1ef2c86b..e0572050ef767739e293f736b37d04cdc982a930 100644
--- a/ui/android/window_android.h
+++ b/ui/android/window_android.h
@@ -69,6 +69,8 @@ class UI_ANDROID_EXPORT WindowAndroid {
// Return whether the specified Android permission can be requested by Chrome.
bool CanRequestPermission(const std::string& permission);
+ base::android::ScopedJavaLocalRef<jobject> GetJavaDisplayContext();
boliu 2015/10/26 16:31:49 say this is public for ResourceManager only
gsennton 2015/10/26 16:48:47 Done.
+
private:
~WindowAndroid();

Powered by Google App Engine
This is Rietveld 408576698