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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2702103002: [ScreenOrientation] De-associate device.mojom.ScreenOrientation from legacy IPC channel.
Patch Set: Synchronize response of lock success with legacy IPC ViewMsg_Resize. 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/renderer/render_frame_impl.h ('k') | content/renderer/screen_orientation/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 264c934af1782382c8593f714d7f9529d2fcca55..2bb08c63986be4436604f1d7c8a459af594798ee 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -135,7 +135,6 @@
#include "content/renderer/renderer_webapplicationcachehost_impl.h"
#include "content/renderer/renderer_webcolorchooser_impl.h"
#include "content/renderer/savable_resources.h"
-#include "content/renderer/screen_orientation/screen_orientation_dispatcher.h"
#include "content/renderer/shared_worker/shared_worker_repository.h"
#include "content/renderer/shared_worker/websharedworker_proxy.h"
#include "content/renderer/skia_benchmarking_extension.h"
@@ -1079,7 +1078,6 @@ RenderFrameImpl::RenderFrameImpl(const CreateParams& params)
devtools_agent_(nullptr),
push_messaging_dispatcher_(NULL),
presentation_dispatcher_(NULL),
- screen_orientation_dispatcher_(NULL),
manifest_manager_(NULL),
accessibility_mode_(AccessibilityModeOff),
render_accessibility_(NULL),
@@ -4642,13 +4640,6 @@ bool RenderFrameImpl::allowWebGL(bool default_value) {
return !blocked;
}
-blink::WebScreenOrientationClient*
- RenderFrameImpl::webScreenOrientationClient() {
- if (!screen_orientation_dispatcher_)
- screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this);
- return screen_orientation_dispatcher_;
-}
-
bool RenderFrameImpl::isControlledByServiceWorker(WebDataSource& data_source) {
ServiceWorkerNetworkProvider* provider =
ServiceWorkerNetworkProvider::FromDocumentState(
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/screen_orientation/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698