OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for extensions. | 5 // IPC messages for extensions. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/common/extensions/extension.h" | 10 #include "chrome/common/extensions/extension.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 std::string /* extension_id */, | 250 std::string /* extension_id */, |
251 extensions::APIPermissionSet /* permissions */, | 251 extensions::APIPermissionSet /* permissions */, |
252 URLPatternSet /* explicit_hosts */, | 252 URLPatternSet /* explicit_hosts */, |
253 URLPatternSet /* scriptable_hosts */) | 253 URLPatternSet /* scriptable_hosts */) |
254 | 254 |
255 // Tell the renderer about new tab-specific permissions for an extension. | 255 // Tell the renderer about new tab-specific permissions for an extension. |
256 IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateTabSpecificPermissions, | 256 IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateTabSpecificPermissions, |
257 int32 /* page_id (only relevant for the target tab) */, | 257 int32 /* page_id (only relevant for the target tab) */, |
258 int /* tab_id */, | 258 int /* tab_id */, |
259 std::string /* extension_id */, | 259 std::string /* extension_id */, |
260 URLPatternSet /* host */) | 260 URLPatternSet /* hosts */) |
261 | 261 |
262 // Tell the renderer to clear tab-specific permissions for some extensions. | 262 // Tell the renderer to clear tab-specific permissions for some extensions. |
263 IPC_MESSAGE_CONTROL2(ExtensionMsg_ClearTabSpecificPermissions, | 263 IPC_MESSAGE_CONTROL2(ExtensionMsg_ClearTabSpecificPermissions, |
264 int /* tab_id */, | 264 int /* tab_id */, |
265 std::vector<std::string> /* extension_ids */) | 265 std::vector<std::string> /* extension_ids */) |
266 | 266 |
267 // Tell the renderer which type this view is. | 267 // Tell the renderer which type this view is. |
268 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, | 268 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, |
269 chrome::ViewType /* view_type */) | 269 chrome::ViewType /* view_type */) |
270 | 270 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 // alive. | 492 // alive. |
493 IPC_MESSAGE_ROUTED0(ExtensionHostMsg_DecrementLazyKeepaliveCount) | 493 IPC_MESSAGE_ROUTED0(ExtensionHostMsg_DecrementLazyKeepaliveCount) |
494 | 494 |
495 // Fetches a globally unique ID (for the lifetime of the browser) from the | 495 // Fetches a globally unique ID (for the lifetime of the browser) from the |
496 // browser process. | 496 // browser process. |
497 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID, | 497 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID, |
498 int /* unique_id */) | 498 int /* unique_id */) |
499 | 499 |
500 // Resumes resource requests for a newly created app window. | 500 // Resumes resource requests for a newly created app window. |
501 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) | 501 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ResumeRequests, int /* route_id */) |
OLD | NEW |