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

Side by Side Diff: content/common/manifest_manager_messages.h

Issue 2749863004: Remove screen_orientation_messages.h. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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"
11 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
11 12
12 #undef IPC_MESSAGE_EXPORT 13 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 15
15 #define IPC_MESSAGE_START ManifestManagerMsgStart 16 #define IPC_MESSAGE_START ManifestManagerMsgStart
16 17
18 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationLockType,
19 blink::WebScreenOrientationLockDefault,
20 blink::WebScreenOrientationLockNatural)
17 IPC_ENUM_TRAITS_MAX_VALUE( 21 IPC_ENUM_TRAITS_MAX_VALUE(
18 content::Manifest::Icon::IconPurpose, 22 content::Manifest::Icon::IconPurpose,
19 content::Manifest::Icon::IconPurpose::ICON_PURPOSE_LAST) 23 content::Manifest::Icon::IconPurpose::ICON_PURPOSE_LAST)
20 24
21 IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon) 25 IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
22 IPC_STRUCT_TRAITS_MEMBER(src) 26 IPC_STRUCT_TRAITS_MEMBER(src)
23 IPC_STRUCT_TRAITS_MEMBER(type) 27 IPC_STRUCT_TRAITS_MEMBER(type)
24 IPC_STRUCT_TRAITS_MEMBER(sizes) 28 IPC_STRUCT_TRAITS_MEMBER(sizes)
25 IPC_STRUCT_TRAITS_MEMBER(purpose) 29 IPC_STRUCT_TRAITS_MEMBER(purpose)
26 IPC_STRUCT_TRAITS_END() 30 IPC_STRUCT_TRAITS_END()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 64
61 // The render process' response to a RequestManifest. The |request_id| will 65 // The render process' response to a RequestManifest. The |request_id| will
62 // match the one that was initially received. |manifest_url| will be empty if 66 // match the one that was initially received. |manifest_url| will be empty if
63 // there is no manifest specified in the associated RenderFrame's document. 67 // there is no manifest specified in the associated RenderFrame's document.
64 // |manifest| will be empty if a manifest was specified, but could not be 68 // |manifest| will be empty if a manifest was specified, but could not be
65 // parsed correctly. 69 // parsed correctly.
66 IPC_MESSAGE_ROUTED3(ManifestManagerHostMsg_RequestManifestResponse, 70 IPC_MESSAGE_ROUTED3(ManifestManagerHostMsg_RequestManifestResponse,
67 int, /* request_id */ 71 int, /* request_id */
68 GURL, /* manifest URL */ 72 GURL, /* manifest URL */
69 content::Manifest /* manifest */) 73 content::Manifest /* manifest */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/screen_orientation_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698