Chromium Code Reviews| Index: content/public/common/manifest.cc |
| diff --git a/content/public/common/manifest.cc b/content/public/common/manifest.cc |
| index 1345e076b4114f66aaebeaac4dd253df894b5982..471a5952f6a6252636c54cfcf4454a269ed6a193 100644 |
| --- a/content/public/common/manifest.cc |
| +++ b/content/public/common/manifest.cc |
| @@ -7,6 +7,7 @@ |
| namespace content { |
| const double Manifest::Icon::kDefaultDensity = 1; |
| +const long Manifest::kInvalidThemeColor = -1; |
| const size_t Manifest::kMaxIPCStringLength = 4 * 1024; |
| Manifest::Icon::Icon() |
| @@ -24,6 +25,7 @@ Manifest::RelatedApplication::~RelatedApplication() { |
| Manifest::Manifest() |
| : display(DISPLAY_MODE_UNSPECIFIED), |
| + theme_color(-1), |
|
mlamouri (slow - plz ping)
2015/07/16 12:35:40
Use the constant.
Lalit Maganti
2015/07/16 14:49:01
Done.
|
| orientation(blink::WebScreenOrientationLockDefault), |
| prefer_related_applications(false) { |
| } |
| @@ -36,6 +38,7 @@ bool Manifest::IsEmpty() const { |
| short_name.is_null() && |
| start_url.is_empty() && |
| display == DISPLAY_MODE_UNSPECIFIED && |
| + theme_color == -1 && |
|
mlamouri (slow - plz ping)
2015/07/16 12:35:40
ditto.
Lalit Maganti
2015/07/16 14:49:01
Done.
|
| orientation == blink::WebScreenOrientationLockDefault && |
| icons.empty() && |
| related_applications.empty() && |