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

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

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Codereview update Created 4 years, 1 month 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"
(...skipping 14 matching lines...) Expand all
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(scope)
34 IPC_STRUCT_TRAITS_MEMBER(display) 34 IPC_STRUCT_TRAITS_MEMBER(display)
35 IPC_STRUCT_TRAITS_MEMBER(orientation)
36 IPC_STRUCT_TRAITS_MEMBER(icons) 35 IPC_STRUCT_TRAITS_MEMBER(icons)
37 IPC_STRUCT_TRAITS_MEMBER(related_applications) 36 IPC_STRUCT_TRAITS_MEMBER(related_applications)
38 IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications) 37 IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications)
39 IPC_STRUCT_TRAITS_MEMBER(theme_color) 38 IPC_STRUCT_TRAITS_MEMBER(theme_color)
40 IPC_STRUCT_TRAITS_MEMBER(background_color) 39 IPC_STRUCT_TRAITS_MEMBER(background_color)
41 IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id) 40 IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id)
42 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
43 42
44 // The browser process requests for the manifest linked with the associated 43 // The browser process requests for the manifest linked with the associated
45 // RenderFrame. The render process will respond via a RequestManifestResponse 44 // RenderFrame. The render process will respond via a RequestManifestResponse
46 // IPC message with a Manifest object attached to it and the associated 45 // IPC message with a Manifest object attached to it and the associated
47 // |request_id| that was initially given. 46 // |request_id| that was initially given.
48 IPC_MESSAGE_ROUTED1(ManifestManagerMsg_RequestManifest, 47 IPC_MESSAGE_ROUTED1(ManifestManagerMsg_RequestManifest,
49 int /* request_id */) 48 int /* request_id */)
50 49
51 // The render process' response to a RequestManifest. The |request_id| will 50 // The render process' response to a RequestManifest. The |request_id| will
52 // match the one that was initially received. |manifest_url| will be empty if 51 // match the one that was initially received. |manifest_url| will be empty if
53 // there is no manifest specified in the associated RenderFrame's document. 52 // there is no manifest specified in the associated RenderFrame's document.
54 // |manifest| will be empty if a manifest was specified, but could not be 53 // |manifest| will be empty if a manifest was specified, but could not be
55 // parsed correctly. 54 // parsed correctly.
56 IPC_MESSAGE_ROUTED3(ManifestManagerHostMsg_RequestManifestResponse, 55 IPC_MESSAGE_ROUTED3(ManifestManagerHostMsg_RequestManifestResponse,
57 int, /* request_id */ 56 int, /* request_id */
58 GURL, /* manifest URL */ 57 GURL, /* manifest URL */
59 content::Manifest /* manifest */) 58 content::Manifest /* manifest */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698