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 f0e8b0b4d0890c2825fd281c59b91350df49f159..ba9c43bdf4705742381896c8315f1b7c75b851da 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -83,7 +83,7 @@ struct LoadNotificationDetails; |
struct ResourceRedirectDetails; |
struct ResourceRequestDetails; |
-#if defined(OS_ANDROID) && !defined(USE_AURA) |
+#if defined(OS_ANDROID) |
class WebContentsAndroid; |
#endif |
@@ -131,7 +131,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) && !defined(USE_AURA) |
+#if defined(OS_ANDROID) |
// 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 |
@@ -384,10 +384,9 @@ 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; |
@@ -871,7 +870,7 @@ class CONTENT_EXPORT WebContentsImpl |
const gfx::Rect& selection_rect, |
int active_match_ordinal, |
bool final_update); |
-#if defined(OS_ANDROID) && !defined(USE_AURA) |
+#if defined(OS_ANDROID) |
void OnFindMatchRectsReply(int version, |
const std::vector<gfx::RectF>& rects, |
const gfx::RectF& active_rect); |
@@ -1192,7 +1191,7 @@ class CONTENT_EXPORT WebContentsImpl |
// this overrides |preferred_size_|. |
gfx::Size preferred_size_for_capture_; |
-#if defined(OS_ANDROID) && !defined(USE_AURA) |
+#if defined(OS_ANDROID) |
// 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_; |