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

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

Issue 2832093003: Implement screen orientation for out-of-process iframes. (Closed)
Patch Set: fix dcheck Created 3 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "content/common/page_message_enums.h" 5 #include "content/common/page_message_enums.h"
6 #include "content/public/common/screen_info.h"
6 #include "ipc/ipc_message_macros.h" 7 #include "ipc/ipc_message_macros.h"
7 #include "ui/gfx/geometry/rect.h" 8 #include "ui/gfx/geometry/rect.h"
8 9
9 // IPC messages for page-level actions. 10 // IPC messages for page-level actions.
10 // Multiply-included message file, hence no include guard. 11 // Multiply-included message file, hence no include guard.
11 12
12 #undef IPC_MESSAGE_EXPORT 13 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 15
15 #define IPC_MESSAGE_START PageMsgStart 16 #define IPC_MESSAGE_START PageMsgStart
(...skipping 22 matching lines...) Expand all
38 39
39 // Sent when the history for this page is altered from another process. The 40 // Sent when the history for this page is altered from another process. The
40 // history list should be reset to |history_length| length, and the offset 41 // history list should be reset to |history_length| length, and the offset
41 // should be reset to |history_offset|. 42 // should be reset to |history_offset|.
42 IPC_MESSAGE_ROUTED2(PageMsg_SetHistoryOffsetAndLength, 43 IPC_MESSAGE_ROUTED2(PageMsg_SetHistoryOffsetAndLength,
43 int /* history_offset */, 44 int /* history_offset */,
44 int /* history_length */) 45 int /* history_length */)
45 46
46 IPC_MESSAGE_ROUTED1(PageMsg_AudioStateChanged, bool /* is_audio_playing */) 47 IPC_MESSAGE_ROUTED1(PageMsg_AudioStateChanged, bool /* is_audio_playing */)
47 48
49 // Sent to OOPIF renderers when the main frame's ScreenInfo changes.
50 IPC_MESSAGE_ROUTED1(PageMsg_UpdateScreenInfo,
51 content::ScreenInfo /* screen_info */)
52
48 // ----------------------------------------------------------------------------- 53 // -----------------------------------------------------------------------------
49 // Messages sent from the renderer to the browser. 54 // Messages sent from the renderer to the browser.
50 55
51 // Adding a new message? Stick to the sort order above: first platform 56 // Adding a new message? Stick to the sort order above: first platform
52 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform 57 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform
53 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg. 58 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698