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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 618013003: Support fullscreen for non-video elements in the WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactorFullscreenNonMedia
Patch Set: Removed verbose comment Created 6 years, 2 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/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 9887c0e404b0114a9230ed62797ffa8ea69b4bf2..a4d26b07faff183393f6163f723592d028857d07 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -245,12 +245,6 @@ class ContentViewCoreImpl : public ContentViewCore,
// testing/benchmarking purposes
base::android::ScopedJavaLocalRef<jobject> CreateTouchEventSynthesizer();
- base::android::ScopedJavaLocalRef<jobject> GetContentVideoViewClient();
-
- // Returns the context that the ContentViewCore was created with, it would
- // typically be an Activity context for an on screen view.
- base::android::ScopedJavaLocalRef<jobject> GetContext();
-
// Returns True if the given media should be blocked to load.
bool ShouldBlockMediaRequest(const GURL& url);
@@ -263,6 +257,10 @@ class ContentViewCoreImpl : public ContentViewCore,
bool IsFullscreenRequiredForOrientationLock() const;
+ // Called once the page has entered / exited fullscreen.
+ void OnDidEnterFullscreen();
+ void OnDidExitFullscreen();
+
// --------------------------------------------------------------------------
// Methods called from native code
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698