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

Unified Diff: Source/modules/screen_orientation/ScreenOrientationController.h

Issue 943483003: Gracefully handle screen.orientation access over unsupported frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch to testharness.js Created 5 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 | « Source/modules/screen_orientation/ScreenOrientation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/screen_orientation/ScreenOrientationController.h
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h
index ff0e4a26ad379d204a9d6011d4b6bce0e3a0628d..414c6842127d17640b82d4c2c6bcc0967680ce76 100644
--- a/Source/modules/screen_orientation/ScreenOrientationController.h
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h
@@ -42,7 +42,8 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- explicit ScreenOrientationController(LocalFrame&, WebScreenOrientationClient*);
+ ScreenOrientationController(LocalFrame&, WebScreenOrientationClient*);
+
static WebScreenOrientationType computeOrientation(FrameView*);
// Inherited from PlatformEventController.
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698