| 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 ea11aa7305a00239917de041d3f01b50c2fd34d8..c481696156b926ebaf8cf2d5c446e34f79a3450f 100644
|
| --- a/blimp/client/public/contents/blimp_contents.h
|
| +++ b/blimp/client/public/contents/blimp_contents.h
|
| @@ -9,6 +9,10 @@
|
| #include "base/supports_user_data.h"
|
| #include "url/gurl.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "base/android/scoped_java_ref.h"
|
| +#endif
|
| +
|
| namespace blimp {
|
| namespace client {
|
|
|
| @@ -31,6 +35,12 @@ class BlimpContents : public base::SupportsUserData {
|
| virtual void AddObserver(BlimpContentsObserver* observer) = 0;
|
| virtual void RemoveObserver(BlimpContentsObserver* observer) = 0;
|
|
|
| +#if defined(OS_ANDROID)
|
| + // Returns a Java object of the type BlimpContents for the given
|
| + // BlimpContents.
|
| + virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
|
| +#endif
|
| +
|
| protected:
|
| BlimpContents() {}
|
|
|
|
|