| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 the web manifest manager. | 5 // IPC messages for the web manifest manager. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/public/common/manifest.h" | 9 #include "content/public/common/manifest.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 IPC_STRUCT_TRAITS_BEGIN(content::Manifest::RelatedApplication) | 23 IPC_STRUCT_TRAITS_BEGIN(content::Manifest::RelatedApplication) |
| 24 IPC_STRUCT_TRAITS_MEMBER(platform) | 24 IPC_STRUCT_TRAITS_MEMBER(platform) |
| 25 IPC_STRUCT_TRAITS_MEMBER(url) | 25 IPC_STRUCT_TRAITS_MEMBER(url) |
| 26 IPC_STRUCT_TRAITS_MEMBER(id) | 26 IPC_STRUCT_TRAITS_MEMBER(id) |
| 27 IPC_STRUCT_TRAITS_END() | 27 IPC_STRUCT_TRAITS_END() |
| 28 | 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(content::Manifest) | 29 IPC_STRUCT_TRAITS_BEGIN(content::Manifest) |
| 30 IPC_STRUCT_TRAITS_MEMBER(name) | 30 IPC_STRUCT_TRAITS_MEMBER(name) |
| 31 IPC_STRUCT_TRAITS_MEMBER(short_name) | 31 IPC_STRUCT_TRAITS_MEMBER(short_name) |
| 32 IPC_STRUCT_TRAITS_MEMBER(start_url) | 32 IPC_STRUCT_TRAITS_MEMBER(start_url) |
| 33 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 33 IPC_STRUCT_TRAITS_MEMBER(display) | 34 IPC_STRUCT_TRAITS_MEMBER(display) |
| 34 IPC_STRUCT_TRAITS_MEMBER(orientation) | 35 IPC_STRUCT_TRAITS_MEMBER(orientation) |
| 35 IPC_STRUCT_TRAITS_MEMBER(icons) | 36 IPC_STRUCT_TRAITS_MEMBER(icons) |
| 36 IPC_STRUCT_TRAITS_MEMBER(related_applications) | 37 IPC_STRUCT_TRAITS_MEMBER(related_applications) |
| 37 IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications) | 38 IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications) |
| 38 IPC_STRUCT_TRAITS_MEMBER(theme_color) | 39 IPC_STRUCT_TRAITS_MEMBER(theme_color) |
| 39 IPC_STRUCT_TRAITS_MEMBER(background_color) | 40 IPC_STRUCT_TRAITS_MEMBER(background_color) |
| 40 IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id) | 41 IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id) |
| 41 IPC_STRUCT_TRAITS_END() | 42 IPC_STRUCT_TRAITS_END() |
| 42 | 43 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 61 int, /* request_id */ | 62 int, /* request_id */ |
| 62 GURL, /* manifest URL */ | 63 GURL, /* manifest URL */ |
| 63 content::Manifest /* manifest */) | 64 content::Manifest /* manifest */) |
| 64 | 65 |
| 65 // The render process' response to a HasManifest. The |request_id| is the one | 66 // The render process' response to a HasManifest. The |request_id| is the one |
| 66 // sent from the browser. The |bool| will be true if the current document has a | 67 // sent from the browser. The |bool| will be true if the current document has a |
| 67 // manifest link URL, and false otherwise. | 68 // manifest link URL, and false otherwise. |
| 68 IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_HasManifestResponse, | 69 IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_HasManifestResponse, |
| 69 int, /* request_id */ | 70 int, /* request_id */ |
| 70 bool /* true if the document has a manifest link */) | 71 bool /* true if the document has a manifest link */) |
| OLD | NEW |