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 109f672e79d2e215a1b16f3eb859ab4d4b88cc52..a4eff01d969e83249002e359824f6ca7d5daf210 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -80,7 +80,7 @@ struct LoadNotificationDetails; |
struct ResourceRedirectDetails; |
struct ResourceRequestDetails; |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
class WebContentsAndroid; |
#endif |
@@ -126,7 +126,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 |
@@ -371,7 +371,7 @@ class CONTENT_EXPORT WebContentsImpl |
void GetManifest(const GetManifestCallback&) override; |
void ExitFullscreen() override; |
void ResumeLoadingCreatedWebContents() override; |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
void OnMediaSessionStateChanged(); |
void ResumeMediaSession() override; |
void SuspendMediaSession() override; |
@@ -844,7 +844,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); |
@@ -1201,7 +1201,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_; |