Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for screen orientation. | 5 // IPC messages for screen orientation. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebLockO rientationError.h" | 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebLockO rientationError.h" |
| 11 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h" | 11 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h" |
| 12 | 12 |
| 13 #undef IPC_MESSAGE_EXPORT | 13 #undef IPC_MESSAGE_EXPORT |
| 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 15 | 15 |
| 16 #define IPC_MESSAGE_START ScreenOrientationMsgStart | |
|
blundell
2017/03/09 16:48:20
This bugfix is unrelated to the rest of this CL, c
leonhsl(Using Gerrit)
2017/03/10 02:43:06
Oh, this relates with this CL's work.
ScreenOrient
| |
| 17 | |
| 18 // Only used by content/common/manifest_manager_messages.h. | 16 // Only used by content/common/manifest_manager_messages.h. |
|
Tom Sepez
2017/03/14 16:20:15
Maybe we can delete this file entirely and move th
leonhsl(Using Gerrit)
2017/03/15 02:07:34
Yeah I think we should do this. I'd like to prepar
| |
| 19 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType, | 17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType, |
| 20 blink::WebScreenOrientationLockDefault, | 18 blink::WebScreenOrientationLockDefault, |
| 21 blink::WebScreenOrientationLockNatural) | 19 blink::WebScreenOrientationLockNatural) |
| OLD | NEW |