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

Unified Diff: content/common/page_messages.h

Issue 1685213002: Propagate window coordinates to out-of-process iframes renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sendscreenrects
Patch Set: rebase Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
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..284c134508b5d9227303ec5f96ec52235e628176
--- /dev/null
+++ b/content/common/page_messages.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// 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 actions.
+// 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.

Powered by Google App Engine
This is Rietveld 408576698