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

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

Issue 469773002: Cleanup blink:: prefix usage in Source/core/modules/[mediasource/*.cpp to websockets/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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: Source/modules/screen_orientation/LockOrientationCallback.cpp
diff --git a/Source/modules/screen_orientation/LockOrientationCallback.cpp b/Source/modules/screen_orientation/LockOrientationCallback.cpp
index f2e3753185e0c14ceeba190f31351668c2c004e2..d91ea0f7162144fef6f9221448bd334a3a946c14 100644
--- a/Source/modules/screen_orientation/LockOrientationCallback.cpp
+++ b/Source/modules/screen_orientation/LockOrientationCallback.cpp
@@ -26,21 +26,21 @@ void LockOrientationCallback::onSuccess()
m_resolver->resolve();
}
-void LockOrientationCallback::onError(blink::WebLockOrientationError error)
+void LockOrientationCallback::onError(WebLockOrientationError error)
{
ExceptionCode code = 0;
String msg = "";
switch (error) {
- case blink::WebLockOrientationErrorNotAvailable:
+ case WebLockOrientationErrorNotAvailable:
code = NotSupportedError;
msg = "lockOrientation() is not available on this device.";
break;
- case blink::WebLockOrientationErrorFullScreenRequired:
+ case WebLockOrientationErrorFullScreenRequired:
code = SecurityError;
msg = "The page needs to be fullscreen in order to call lockOrientation().";
break;
- case blink::WebLockOrientationErrorCanceled:
+ case WebLockOrientationErrorCanceled:
code = AbortError;
msg = "A call to lockOrientation() or unlockOrientation() canceled this call.";
break;
« no previous file with comments | « Source/modules/quota/StorageQuotaCallbacksImpl.cpp ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698