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

Unified Diff: blimp/client/public/contents/blimp_contents.h

Issue 2542083004: Make //blimp/client/app a real embedder of //blimp/client/public (Closed)
Patch Set: Fix findbugs issue Created 4 years 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 | « blimp/client/core/switches/blimp_client_switches.cc ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/public/contents/blimp_contents.h
diff --git a/blimp/client/public/contents/blimp_contents.h b/blimp/client/public/contents/blimp_contents.h
index b2658e82ede8a3eacb2881b1a4773edfc01ed504..37dd9e4ab7caac9f4d7467db58368978e6ff1ca5 100644
--- a/blimp/client/public/contents/blimp_contents.h
+++ b/blimp/client/public/contents/blimp_contents.h
@@ -45,6 +45,12 @@ class BlimpContents : public base::SupportsUserData {
virtual void Hide() = 0;
#if defined(OS_ANDROID)
+ // Returns the native BlimpContents corresponding to a Java object of the type
+ // org.chromium.blimp.BlimpContents or nullptr if the lookup fails.
+ static BlimpContents* FromJavaObject(
+ JNIEnv* env,
+ const base::android::JavaRef<jobject>& jobj);
+
// Returns a Java object of the type BlimpContents for the given
// BlimpContents.
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
« no previous file with comments | « blimp/client/core/switches/blimp_client_switches.cc ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698