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

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

Issue 164913004: Chromium plumbing for Screen Orientation API orientationchange events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enum + android backend Created 6 years, 9 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // IPC messages for screen orientation.
6 // Multiply-included message file, hence no include guard.
7
8 #include "ipc/ipc_message_macros.h"
9 #include "third_party/WebKit/public/platform/WebScreenOrientation.h"
10
11 #undef IPC_MESSAGE_EXPORT
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
13
14 #define IPC_MESSAGE_START ScreenOrientationMsgStart
15
16 IPC_ENUM_TRAITS(blink::WebScreenOrientation)
jochen (gone - plz use gerrit) 2014/02/24 14:08:26 nit. use IPC_ENUM_TRAITS_MAX_VALUE
mlamouri (slow - plz ping) 2014/02/24 14:20:21 I can't because blink::WebScreenOrientation is a b
17
18 // The browser process informs the renderer process that the screen orientation
19 // has changed. |orientation| contains the new screen orientation in degrees.
20 IPC_MESSAGE_CONTROL1(ScreenOrientationMsg_OrientationChange,
21 blink::WebScreenOrientation /* orientation */ )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698