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

Unified Diff: ui/android/view_android.h

Issue 2279313005: Revert of Let PowerSaveBlocker manager anchor view in Java side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 8b1d5fee0f0236f82b1839ed847bcdba2d1e0386..a996e6804bbc10fc38449e43b34be7937fab6942 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -86,16 +86,17 @@
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_;
« 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