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

Unified Diff: content/common/screen_orientation_messages.h

Issue 347553002: Use WebLockOrientationError instead of WebLockOrientationCallbackErrorType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_web_screen_orientation_listener
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 | « content/common/DEPS ('k') | content/renderer/screen_orientation/screen_orientation_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/screen_orientation_messages.h
diff --git a/content/common/screen_orientation_messages.h b/content/common/screen_orientation_messages.h
index b7336d6b65752aadf1f6369dbcfac7496965e5c4..ea6640cc7c2ef52163363d33310a651ed52201f4 100644
--- a/content/common/screen_orientation_messages.h
+++ b/content/common/screen_orientation_messages.h
@@ -7,7 +7,7 @@
#include "content/common/content_export.h"
#include "ipc/ipc_message_macros.h"
-#include "third_party/WebKit/public/platform/WebLockOrientationCallback.h"
+#include "third_party/WebKit/public/platform/WebLockOrientationError.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
@@ -23,9 +23,9 @@ IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType,
blink::WebScreenOrientationLockDefault,
blink::WebScreenOrientationLockPortrait)
IPC_ENUM_TRAITS_MIN_MAX_VALUE(
- blink::WebLockOrientationCallback::ErrorType,
- blink::WebLockOrientationCallback::ErrorTypeNotAvailable,
- blink::WebLockOrientationCallback::ErrorTypeCanceled)
+ blink::WebLockOrientationError,
+ blink::WebLockOrientationErrorNotAvailable,
+ blink::WebLockOrientationErrorCanceled)
// The browser process informs the renderer process that the screen orientation
// has changed. |orientation| contains the new screen orientation in degrees.
@@ -48,7 +48,7 @@ IPC_MESSAGE_ROUTED3(ScreenOrientationMsg_LockSuccess,
// process can associate the response to the right request.
IPC_MESSAGE_ROUTED2(ScreenOrientationMsg_LockError,
int, /* request_id */
- blink::WebLockOrientationCallback::ErrorType /* error */);
+ blink::WebLockOrientationError /* error */);
// The renderer process requests the browser process to lock the screen
// orientation to the specified |orientations|. The request contains a
« no previous file with comments | « content/common/DEPS ('k') | content/renderer/screen_orientation/screen_orientation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698