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

Unified Diff: extensions/common/extension_messages.h

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 Created 6 years, 3 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
« no previous file with comments | « extensions/common/draggable_region.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_messages.h
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index d2aadea6b5859d8bf80f4f5d9e9eda185d87a129..a787cc29d84d89e351b3958b7814dca3507ba315 100644
--- a/extensions/common/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -10,10 +10,10 @@
#include "base/memory/shared_memory.h"
#include "base/values.h"
+#include "components/native_app_window/draggable_region.h"
#include "content/public/common/common_param_traits.h"
#include "content/public/common/socket_permission_request.h"
#include "extensions/common/api/messaging/message.h"
-#include "extensions/common/draggable_region.h"
#include "extensions/common/extension.h"
#include "extensions/common/extensions_client.h"
#include "extensions/common/permissions/media_galleries_permission_data.h"
@@ -161,7 +161,7 @@ IPC_STRUCT_BEGIN(ExtensionMsg_ExternalConnectionInfo)
IPC_STRUCT_MEMBER(GURL, source_url)
IPC_STRUCT_END()
-IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion)
+IPC_STRUCT_TRAITS_BEGIN(native_app_window::DraggableRegion)
IPC_STRUCT_TRAITS_MEMBER(draggable)
IPC_STRUCT_TRAITS_MEMBER(bounds)
IPC_STRUCT_TRAITS_END()
@@ -689,8 +689,9 @@ IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID,
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 */)
+IPC_MESSAGE_ROUTED1(
+ ExtensionHostMsg_UpdateDraggableRegions,
+ std::vector<native_app_window::DraggableRegion> /* regions */)
// Sent by the renderer to log an API action to the extension activity log.
IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddAPIActionToActivityLog,
« no previous file with comments | « extensions/common/draggable_region.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698