OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/themes/theme_properties.h" | 5 #include "chrome/browser/themes/theme_properties.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/string_split.h" | |
9 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/strings/string_split.h" |
10 #include "chrome/browser/themes/browser_theme_pack.h" | 10 #include "chrome/browser/themes/browser_theme_pack.h" |
11 #include "grit/theme_resources.h" | 11 #include "grit/theme_resources.h" |
12 #include "grit/ui_resources.h" | 12 #include "grit/ui_resources.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 // ---------------------------------------------------------------------------- | 16 // ---------------------------------------------------------------------------- |
17 // Defaults for properties which are stored in the browser theme pack. If you | 17 // Defaults for properties which are stored in the browser theme pack. If you |
18 // change these defaults, you must increment the version number in | 18 // change these defaults, you must increment the version number in |
19 // browser_theme_pack.h | 19 // browser_theme_pack.h |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 case NTP_BACKGROUND_TILING: | 310 case NTP_BACKGROUND_TILING: |
311 *result = kDefaultDisplayPropertyNTPTiling; | 311 *result = kDefaultDisplayPropertyNTPTiling; |
312 return true; | 312 return true; |
313 case NTP_LOGO_ALTERNATE: | 313 case NTP_LOGO_ALTERNATE: |
314 *result = kDefaultDisplayPropertyNTPInverseLogo; | 314 *result = kDefaultDisplayPropertyNTPInverseLogo; |
315 return true; | 315 return true; |
316 } | 316 } |
317 | 317 |
318 return false; | 318 return false; |
319 } | 319 } |
OLD | NEW |