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

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

Issue 2685513002: [For trybots test] [ScreenOrientation] Hide ScreenOrientationProvider inside WebContentsImpl. (Closed)
Patch Set: Fix android bots 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
« no previous file with comments | « content/public/browser/screen_orientation_provider.cc ('k') | content/test/BUILD.gn » ('j') | 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 ffcb4b123ec75d027b41a7c68be882daba3ffd19..5a509ef831b9a4278909e212dd8b5ac1558e563b 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -21,6 +21,7 @@
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/save_page_type.h"
+#include "content/public/browser/screen_orientation_delegate.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_ui.h"
#include "content/public/common/stop_find_action.h"
@@ -191,6 +192,10 @@ class WebContents : public PageNavigator,
CONTENT_EXPORT static WebContents* FromFrameTreeNodeId(
int frame_tree_node_id);
+ // Sets delegate for platform specific screen orientation functionality.
+ CONTENT_EXPORT static void SetScreenOrientationDelegate(
+ ScreenOrientationDelegate* delegate);
+
~WebContents() override {}
// Intrinsic tab state -------------------------------------------------------
« no previous file with comments | « content/public/browser/screen_orientation_provider.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698