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

Unified Diff: content/shell/browser/shell_android.cc

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: cast to activity Created 4 years, 3 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/shell/browser/shell.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_android.cc
diff --git a/content/shell/browser/shell_android.cc b/content/shell/browser/shell_android.cc
index 720b7ee23e5bcd280c9943d39ef23b23c8eb798f..c38e902a4b020640384156032ca9c60c93da25a0 100644
--- a/content/shell/browser/shell_android.cc
+++ b/content/shell/browser/shell_android.cc
@@ -77,6 +77,11 @@ void Shell::LoadProgressChanged(WebContents* source, double progress) {
Java_Shell_onLoadProgressChanged(env, java_object_, progress);
}
+ScopedJavaLocalRef<jobject> Shell::GetContentVideoViewEmbedder() {
+ JNIEnv* env = base::android::AttachCurrentThread();
+ return Java_Shell_getContentVideoViewEmbedder(env, java_object_);
+}
+
void Shell::PlatformToggleFullscreenModeForTab(WebContents* web_contents,
bool enter_fullscreen) {
JNIEnv* env = AttachCurrentThread();
« no previous file with comments | « content/shell/browser/shell.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698