| OLD | NEW |
| 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 #ifndef CONTENT_COMMON_PAGE_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_PAGE_MESSAGES_H_ |
| 7 |
| 5 #include "content/common/page_message_enums.h" | 8 #include "content/common/page_message_enums.h" |
| 6 #include "content/public/common/screen_info.h" | 9 #include "content/public/common/screen_info.h" |
| 7 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 8 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 9 | 12 |
| 10 // IPC messages for page-level actions. | 13 // IPC messages for page-level actions. |
| 11 // Multiply-included message file, hence no include guard. | 14 // Multiply-included message file, hence no include guard. |
| 12 | 15 |
| 13 #undef IPC_MESSAGE_EXPORT | 16 #undef IPC_MESSAGE_EXPORT |
| 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Sent to OOPIF renderers when the main frame's ScreenInfo changes. | 52 // Sent to OOPIF renderers when the main frame's ScreenInfo changes. |
| 50 IPC_MESSAGE_ROUTED1(PageMsg_UpdateScreenInfo, | 53 IPC_MESSAGE_ROUTED1(PageMsg_UpdateScreenInfo, |
| 51 content::ScreenInfo /* screen_info */) | 54 content::ScreenInfo /* screen_info */) |
| 52 | 55 |
| 53 // ----------------------------------------------------------------------------- | 56 // ----------------------------------------------------------------------------- |
| 54 // Messages sent from the renderer to the browser. | 57 // Messages sent from the renderer to the browser. |
| 55 | 58 |
| 56 // Adding a new message? Stick to the sort order above: first platform | 59 // Adding a new message? Stick to the sort order above: first platform |
| 57 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform | 60 // independent PageMsg, then ifdefs for platform specific PageMsg, then platform |
| 58 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg. | 61 // independent PageHostMsg, then ifdefs for platform specific PageHostMsg. |
| 62 |
| 63 #endif // CONTENT_COMMON_PAGE_MESSAGES_H_ |
| OLD | NEW |