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

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

Issue 2682643002: [ScreenOrientation] Hide ScreenOrientationProvider inside WebContentsImpl. (Closed)
Patch Set: Rebase only Created 3 years, 10 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 4ece254c6d035529a25871133e49fcaa9dbe8342..0eaec3ad7a4830928e8fcb6cf305bca083d3a46b 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -209,7 +209,11 @@ class CONTENT_EXPORT WebContentsImpl
WebContentsView* GetView() const;
- ScreenOrientationProvider* GetScreenOrientationProvider() const;
+ void OnScreenOrientationChange();
+
+ ScreenOrientationProvider* GetScreenOrientationProviderForTesting() const {
+ return screen_orientation_provider_.get();
+ }
bool should_normally_be_visible() { return should_normally_be_visible_; }

Powered by Google App Engine
This is Rietveld 408576698