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

Unified Diff: content/browser/screen_orientation/screen_orientation_dispatcher_host.h

Issue 444033002: Fix screen.orientation.lock() rejection and an integration test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix lock reject on non-Android Created 6 years, 4 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
Index: content/browser/screen_orientation/screen_orientation_dispatcher_host.h
diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host.h b/content/browser/screen_orientation/screen_orientation_dispatcher_host.h
index 61d1938d6717d704ea2f9a3e57bb13aaccb053b5..e0019903b30893faac466b6d87b89b4dbd7c2c0c 100644
--- a/content/browser/screen_orientation/screen_orientation_dispatcher_host.h
+++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host.h
@@ -48,6 +48,12 @@ class CONTENT_EXPORT ScreenOrientationDispatcherHost
void ResetCurrentLock();
+ // Like NotifyLockError(int, blink::WebLockOrientationError but expected to be
+ // used internally when the RenderFrameHost is known.
Michael van Ouwerkerk 2014/08/07 10:34:12 This comment seems brittle, I don't like the way i
+ void NotifyLockError(int request_id,
+ RenderFrameHost* render_frame_host,
+ blink::WebLockOrientationError error);
+
scoped_ptr<ScreenOrientationProvider> provider_;
struct LockInformation {

Powered by Google App Engine
This is Rietveld 408576698