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

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

Issue 332493003: Add a WebLockOrientationError independant from WebLockOrientationCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@platform_cleanup
Patch Set: Created 6 years, 6 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 | « no previous file | Source/modules/screen_orientation/LockOrientationCallback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/screen_orientation/LockOrientationCallback.h
diff --git a/Source/modules/screen_orientation/LockOrientationCallback.h b/Source/modules/screen_orientation/LockOrientationCallback.h
index 998453c5318595822a47d71101c7fd46f814c543..df43a17bda089283489aee68d4dde0fecc2600e6 100644
--- a/Source/modules/screen_orientation/LockOrientationCallback.h
+++ b/Source/modules/screen_orientation/LockOrientationCallback.h
@@ -26,6 +26,7 @@ public:
virtual void onSuccess(unsigned angle, blink::WebScreenOrientationType) OVERRIDE;
virtual void onError(ErrorType) OVERRIDE;
+ virtual void onError(blink::WebLockOrientationError) OVERRIDE;
private:
RefPtr<ScriptPromiseResolverWithContext> m_resolver;
@@ -34,4 +35,3 @@ private:
} // namespace WebCore
#endif // LockOrientationCallback_h
-
« no previous file with comments | « no previous file | Source/modules/screen_orientation/LockOrientationCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698