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

Side by Side Diff: content/common/screen_orientation_messages.h

Issue 1151373005: Update Blink's screen orientation path in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix one include Created 5 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 unified diff | Download patch
« no previous file with comments | « content/common/DEPS ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/WebLockOrientationError.h" 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebLockO rientationError.h"
11 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.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 16 #define IPC_MESSAGE_START ScreenOrientationMsgStart
17 17
18 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType, 18 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType,
19 blink::WebScreenOrientationLockDefault, 19 blink::WebScreenOrientationLockDefault,
20 blink::WebScreenOrientationLockNatural) 20 blink::WebScreenOrientationLockNatural)
21 IPC_ENUM_TRAITS_MIN_MAX_VALUE( 21 IPC_ENUM_TRAITS_MIN_MAX_VALUE(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // This is only expected to be acted upon when the underlying platform requires 57 // This is only expected to be acted upon when the underlying platform requires
58 // heavy work in order to accurately know the screen orientation. 58 // heavy work in order to accurately know the screen orientation.
59 IPC_MESSAGE_CONTROL0(ScreenOrientationHostMsg_StartListening) 59 IPC_MESSAGE_CONTROL0(ScreenOrientationHostMsg_StartListening)
60 60
61 // The renderer process is no longer using the Screen Orientation API and 61 // The renderer process is no longer using the Screen Orientation API and
62 // informs the browser process that it can stop accurately listening to the 62 // informs the browser process that it can stop accurately listening to the
63 // screen orientation if no other process cares about it. 63 // screen orientation if no other process cares about it.
64 // This is only expected to be acted upon when the underlying platform requires 64 // This is only expected to be acted upon when the underlying platform requires
65 // heavy work in order to accurately know the screen orientation. 65 // heavy work in order to accurately know the screen orientation.
66 IPC_MESSAGE_CONTROL0(ScreenOrientationHostMsg_StopListening) 66 IPC_MESSAGE_CONTROL0(ScreenOrientationHostMsg_StopListening)
OLDNEW
« no previous file with comments | « content/common/DEPS ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698