Index: content/common/page_messages.h |
diff --git a/content/common/page_messages.h b/content/common/page_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1e81422ee1126b753ad1168ac1baaad106f3cef |
--- /dev/null |
+++ b/content/common/page_messages.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
nasko
2016/02/11 18:21:28
styleL: No "(c)".
lfg
2016/02/11 20:26:09
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ipc/ipc_message_macros.h" |
+ |
+// IPC messages for page-level concepts. |
nasko
2016/02/11 18:21:28
nit: s/concepts/actions/
lfg
2016/02/11 20:26:09
Done.
|
+// Multiply-included message file, hence no include guard. |
+ |
+#undef IPC_MESSAGE_EXPORT |
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+ |
+#define IPC_MESSAGE_START PageMsgStart |
+ |
+// Messages sent from the browser to the renderer. |
+ |
+IPC_MESSAGE_ROUTED1(PageMsg_UpdateWindowScreenRect, |
+ gfx::Rect /* window_screen_rect */) |
+ |
+// ----------------------------------------------------------------------------- |
+// Messages sent from the renderer to the browser. |
+ |
+// Adding a new message? Stick to the sort order above: first platform |
+// independent PageMsg, then ifdefs for platform specific PageMsg, then platform |
+// independent PageHostMsg, then ifdefs for platform specific PageHostMsg. |