Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 0bd9c5c433196f97c834dd3720c01cca394c79a9..5755f31f8e9a0bedf37f7ab5a459285361c0b629 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -81,7 +81,7 @@ struct LoadNotificationDetails; |
struct ResourceRedirectDetails; |
struct ResourceRequestDetails; |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
class WebContentsAndroid; |
#endif |
@@ -127,7 +127,7 @@ class CONTENT_EXPORT WebContentsImpl |
// Returns the SavePackage which manages the page saving job. May be NULL. |
SavePackage* save_package() const { return save_package_.get(); } |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
// In Android WebView, the RenderView needs created even there is no |
// navigation entry, this allows Android WebViews to use |
// javascript: URLs that load into the DOMWindow before the first page |
@@ -378,9 +378,10 @@ class CONTENT_EXPORT WebContentsImpl |
void ResumeMediaSession() override; |
void SuspendMediaSession() override; |
void StopMediaSession() override; |
- |
+#if !defined(USE_AURA) |
base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
virtual WebContentsAndroid* GetWebContentsAndroid(); |
+#endif // !USE_AURA |
#elif defined(OS_MACOSX) |
void SetAllowOtherViews(bool allow) override; |
bool GetAllowOtherViews() override; |
@@ -852,7 +853,7 @@ class CONTENT_EXPORT WebContentsImpl |
const gfx::Rect& selection_rect, |
int active_match_ordinal, |
bool final_update); |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
void OnFindMatchRectsReply(int version, |
const std::vector<gfx::RectF>& rects, |
const gfx::RectF& active_rect); |
@@ -1209,7 +1210,7 @@ class CONTENT_EXPORT WebContentsImpl |
// this overrides |preferred_size_|. |
gfx::Size preferred_size_for_capture_; |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
// Date time chooser opened by this tab. |
// Only used in Android since all other platforms use a multi field UI. |
scoped_ptr<DateTimeChooserAndroid> date_time_chooser_; |