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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2688383002: [ScreenOrientation] Merge mojo interface ScreenOrientationListener into ScreenOrientation
Patch Set: Address comments from mlamouri@ 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/BUILD.gn ('k') | content/renderer/screen_orientation/screen_orientation_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 5099df29a1ecc049a6a3d4a24ed0ef48bb0a9a6e..c6ebb138860a50ca84789f989342bfdb23a47905 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -65,7 +65,6 @@
#include "content/renderer/mojo/blink_interface_provider_impl.h"
#include "content/renderer/render_thread_impl.h"
#include "content/renderer/renderer_clipboard_delegate.h"
-#include "content/renderer/screen_orientation/screen_orientation_observer.h"
#include "content/renderer/webclipboard_impl.h"
#include "content/renderer/webgraphicscontext3d_provider_impl.h"
#include "content/renderer/webpublicsuffixlist_impl.h"
@@ -1170,8 +1169,6 @@ RendererBlinkPlatformImpl::CreatePlatformEventObserverFromType(
return base::MakeUnique<DeviceLightEventPump>(thread);
case blink::WebPlatformEventTypeGamepad:
return base::MakeUnique<GamepadSharedMemoryReader>(thread);
- case blink::WebPlatformEventTypeScreenOrientation:
- return base::MakeUnique<ScreenOrientationObserver>();
default:
// A default statement is required to prevent compilation errors when
// Blink adds a new type.
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/screen_orientation/screen_orientation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698