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

Unified Diff: ui/android/view_android.h

Issue 2638973004: Use ContainerView for PowerSaveBlocker to keep screen on (Closed)
Patch Set: fix tests Created 3 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/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index db49468b86b3b5150cc04b1797516bb4f896661b..00948f8a890111260b0886cf46ddb7896c7a9321 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -94,6 +94,8 @@ class UI_ANDROID_EXPORT ViewAndroid {
void SetAnchorRect(const base::android::JavaRef<jobject>& anchor,
const gfx::RectF& bounds);
+ base::android::ScopedJavaLocalRef<jobject> GetContainerView();
boliu 2017/01/18 18:21:16 add a comment this may return null
Jinsuk Kim 2017/01/19 23:48:08 Done.
+
protected:
ViewAndroid* parent_;

Powered by Google App Engine
This is Rietveld 408576698