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

Unified Diff: content/common/manifest_manager_messages.h

Issue 590563002: Add support for icons.{src,type,density} in Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPORT Manifest::Icon 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 | « content/browser/manifest/manifest_manager_host.cc ('k') | content/public/common/manifest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/manifest_manager_messages.h
diff --git a/content/common/manifest_manager_messages.h b/content/common/manifest_manager_messages.h
index b1990880b5a05a0a47318fe3936d4d3294b1294b..a447de998204884d9306f099d21f2b4acd6d7cb2 100644
--- a/content/common/manifest_manager_messages.h
+++ b/content/common/manifest_manager_messages.h
@@ -17,12 +17,19 @@
IPC_ENUM_TRAITS_MAX_VALUE(content::Manifest::DisplayMode,
content::Manifest::DISPLAY_MODE_BROWSER)
+IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
+ IPC_STRUCT_TRAITS_MEMBER(src)
+ IPC_STRUCT_TRAITS_MEMBER(type)
+ IPC_STRUCT_TRAITS_MEMBER(density)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
IPC_STRUCT_TRAITS_MEMBER(name)
IPC_STRUCT_TRAITS_MEMBER(short_name)
IPC_STRUCT_TRAITS_MEMBER(start_url)
IPC_STRUCT_TRAITS_MEMBER(display)
IPC_STRUCT_TRAITS_MEMBER(orientation)
+ IPC_STRUCT_TRAITS_MEMBER(icons)
IPC_STRUCT_TRAITS_END()
// The browser process requests for the manifest linked with the associated
« no previous file with comments | « content/browser/manifest/manifest_manager_host.cc ('k') | content/public/common/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698