Index: chrome/common/extensions/extension_messages.h |
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h |
index a7fd594cc654f2da8cbd220b5aafe650a11b925d..7cd58e3ef942e43bc15778d4c7f58625ba8a1507 100644 |
--- a/chrome/common/extensions/extension_messages.h |
+++ b/chrome/common/extensions/extension_messages.h |
@@ -7,6 +7,7 @@ |
#include "base/shared_memory.h" |
#include "base/values.h" |
+#include "chrome/common/extensions/draggable_region.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/permissions/permission_set.h" |
#include "chrome/common/extensions/url_pattern.h" |
@@ -95,6 +96,12 @@ IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo) |
IPC_STRUCT_TRAITS_MEMBER(is_offline_enabled) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion) |
+ IPC_STRUCT_TRAITS_MEMBER(label) |
+ IPC_STRUCT_TRAITS_MEMBER(bounds) |
+ IPC_STRUCT_TRAITS_MEMBER(clip) |
+IPC_STRUCT_TRAITS_END() |
+ |
// Singly-included section for custom IPC traits. |
#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGES_H_ |
#define CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGES_H_ |
@@ -503,3 +510,7 @@ IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID, |
// Resumes resource requests for a newly created app window. |
IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) |
+ |
+// Sent by the renderer when the draggable regions are updated. |
+IPC_MESSAGE_ROUTED1(ExtensionHostMsg_UpdateDraggableRegions, |
+ std::vector<extensions::DraggableRegion> /* regions */) |