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

Unified Diff: content/browser/manifest/manifest_manager_host.cc

Issue 1235883007: manifest: add theme_color value to the manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nasko's comments Created 5 years, 5 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 | « no previous file | content/common/manifest_manager_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/manifest/manifest_manager_host.cc
diff --git a/content/browser/manifest/manifest_manager_host.cc b/content/browser/manifest/manifest_manager_host.cc
index c22ae0ad46acfd1a4fd4c91c958e3325b55ce4e9..1c0cf3edaa28a895aaf409f29932e46f0fa7e5ac 100644
--- a/content/browser/manifest/manifest_manager_host.cc
+++ b/content/browser/manifest/manifest_manager_host.cc
@@ -136,6 +136,8 @@ void ManifestManagerHost::OnRequestManifestResponse(
0, Manifest::kMaxIPCStringLength),
related_application.id.is_null());
}
+ if (manifest.theme_color < 0)
nasko 2015/07/17 16:36:18 Can we be a bit more strict? Is it valid for a col
Lalit Maganti 2015/07/18 17:52:05 No it is not valid but we do a cast on the rendere
nasko 2015/07/20 09:22:16 Please do. What we do in the renderer process is i
+ manifest.theme_color = -1;
nasko 2015/07/17 16:36:18 Please don't use integers, use the symbolic consta
callback->Run(manifest);
callbacks->Remove(request_id);
« no previous file with comments | « no previous file | content/common/manifest_manager_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698