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

Unified Diff: ui/android/view_android.h

Issue 2285123002: Revert of Let PowerSaveBlocker manager anchor view in Java side (patchset #3 id:40001 of https://co… (Closed)
Patch Set: Created 4 years, 4 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 | « device/power_save_blocker/power_save_blocker_android.cc ('k') | ui/android/view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index 3ef4a7ffbf788d66ea410565640245ceba585606..5b8d81afaf6108ee7a59613f75dca181864e84c4 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -82,17 +82,18 @@ class UI_ANDROID_EXPORT ViewAndroid {
void SetAnchorRect(const base::android::JavaRef<jobject>& anchor,
const gfx::RectF& bounds);
- // Returns the Java delegate for this view. This is used to delegate work
- // up to the embedding view (or the embedder that can deal with the
- // implementation details).
- const JavaObjectWeakGlobalRef GetViewAndroidDelegate() const;
-
protected:
ViewAndroid* parent_;
private:
void RemoveChild(ViewAndroid* child);
+ // Returns the Java delegate for this view. This is used to delegate work
+ // up to the embedding view (or the embedder that can deal with the
+ // implementation details).
+ const base::android::ScopedJavaLocalRef<jobject>
+ GetViewAndroidDelegate() const;
+
std::list<ViewAndroid*> children_;
scoped_refptr<cc::Layer> layer_;
JavaObjectWeakGlobalRef delegate_;
« no previous file with comments | « device/power_save_blocker/power_save_blocker_android.cc ('k') | ui/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698