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

Unified Diff: content/public/browser/web_contents.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: Fixed include order under flag and removed unwanted headers. 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
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/TransitionTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index b16330626f7ce925b91c97466f6b85b02f14ef71..46c8dc4837923771f1004f22cb78659904cd38d9 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -53,6 +53,7 @@ class RenderProcessHost;
class RenderViewHost;
class RenderWidgetHostView;
class SiteInstance;
+class WebContentsAndroid;
class WebContentsDelegate;
struct CustomContextMenuContext;
struct DropData;
@@ -579,6 +580,7 @@ class WebContents : public PageNavigator,
CONTENT_EXPORT static WebContents* FromJavaWebContents(
jobject jweb_contents_android);
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0;
+ virtual WebContentsAndroid* GetWebContentsAndroid() = 0;
Avi (use Gerrit) 2014/08/08 15:23:25 I don't get the relationship here. From line 582
AKVT 2014/08/08 16:15:51 Thanks, I think GetNativeWebContents() suits corre
Avi (use Gerrit) 2014/08/08 16:26:04 The name GetWebContentsAndroid is fine if you rena
#elif defined(OS_MACOSX)
// The web contents view assumes that its view will never be overlapped by
// another view (either partially or fully). This allows it to perform
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/TransitionTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698