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

Unified Diff: ui/android/window_android.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
« no previous file with comments | « ui/android/resources/resource_manager_impl_unittest.cc ('k') | ui/android/window_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.h
diff --git a/ui/android/window_android.h b/ui/android/window_android.h
index 58f1e280bd6a9639ac9368cce647ed9a1ef2c86b..f08b2f2a5300629aaaa803fc99e9ade213054381 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);
+ static WindowAndroid* createForTesting();
+
private:
~WindowAndroid();
« no previous file with comments | « ui/android/resources/resource_manager_impl_unittest.cc ('k') | ui/android/window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698