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

Unified Diff: content/renderer/screen_orientation/screen_orientation_observer.h

Issue 2578503002: [DeviceService] Mojofy left screen orientation IPC messages. (Closed)
Patch Set: Address nits from blundell@ Created 4 years 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/renderer/screen_orientation/screen_orientation_observer.h
diff --git a/content/renderer/screen_orientation/screen_orientation_observer.h b/content/renderer/screen_orientation/screen_orientation_observer.h
index 48cca8c08c4b2559451d17247348b7ff2cb82794..3e396898a1557da7ec547a6e625539ccf6bdb0f3 100644
--- a/content/renderer/screen_orientation/screen_orientation_observer.h
+++ b/content/renderer/screen_orientation/screen_orientation_observer.h
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "content/public/renderer/platform_event_observer.h"
+#include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h"
namespace content {
@@ -27,6 +28,11 @@ class ScreenOrientationObserver
protected:
void SendStartMessage() override;
void SendStopMessage() override;
+
+ private:
+ device::mojom::ScreenOrientationListener* GetScreenOrientationListener();
+
+ device::mojom::ScreenOrientationListenerAssociatedPtr listener_;
};
}; // namespace content
« no previous file with comments | « content/common/screen_orientation_messages.h ('k') | content/renderer/screen_orientation/screen_orientation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698