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

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

Issue 2578503002: [DeviceService] Mojofy left screen orientation IPC messages. (Closed)
Patch Set: Address comments from mlamouri@ 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..2ed1056cfcc5d588e15dd88fc87f442ee7750f0e 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,12 @@ class ScreenOrientationObserver
protected:
void SendStartMessage() override;
void SendStopMessage() override;
+
+ private:
+ device::mojom::ScreenOrientationAccurate* GetScreenOrientationAccurate();
+
+ device::mojom::ScreenOrientationAccurateAssociatedPtr
+ screen_orientation_accurate_;
};
}; // namespace content

Powered by Google App Engine
This is Rietveld 408576698