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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 414423002: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted native file changes to correct inclusion order. Created 6 years, 4 months 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
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 cd5b970236d4c9758f9a785d1a9eb328a395ead3..b6235e8f856af3fa15ddbf1b912246b26d5f7850 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -23,6 +23,9 @@
#include "content/browser/frame_host/render_frame_host_manager.h"
#include "content/browser/renderer_host/render_view_host_delegate.h"
#include "content/browser/renderer_host/render_widget_host_delegate.h"
+#if defined(OS_ANDROID)
+#include "content/browser/web_contents/web_contents_android.h"
sky 2014/08/07 16:17:31 Forward declare WebContentsAndroid. In the future
AKVT 2014/08/08 15:08:25 Thanks Done.
+#endif
#include "content/common/accessibility_mode_enums.h"
#include "content/common/content_export.h"
#include "content/public/browser/color_chooser.h"
@@ -912,6 +915,10 @@ class CONTENT_EXPORT WebContentsImpl
// |delegate_|.
void OnPreferredSizeChanged(const gfx::Size& old_size);
+#if defined(OS_ANDROID)
+ WebContentsAndroid* GetWebContentsAndroid();
+#endif
+
// Adds/removes a callback called on creation of each new WebContents.
// Deprecated, about to remove.
static void AddCreatedCallback(const CreatedCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698