| 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/macros.h" |
| 7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 9 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 11 #include "build/build_config.h" |
| 10 #include "chrome/browser/themes/browser_theme_pack.h" | 12 #include "chrome/browser/themes/browser_theme_pack.h" |
| 11 #include "grit/theme_resources.h" | 13 #include "grit/theme_resources.h" |
| 12 #include "ui/base/resource/material_design/material_design_controller.h" | 14 #include "ui/base/resource/material_design/material_design_controller.h" |
| 13 #include "ui/gfx/color_palette.h" | 15 #include "ui/gfx/color_palette.h" |
| 14 #include "ui/resources/grit/ui_resources.h" | 16 #include "ui/resources/grit/ui_resources.h" |
| 15 | 17 |
| 16 namespace { | 18 namespace { |
| 17 | 19 |
| 18 // ---------------------------------------------------------------------------- | 20 // ---------------------------------------------------------------------------- |
| 19 // Defaults for properties which are stored in the browser theme pack. If you | 21 // Defaults for properties which are stored in the browser theme pack. If you |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 #endif | 326 #endif |
| 325 case COLOR_FRAME_INCOGNITO: | 327 case COLOR_FRAME_INCOGNITO: |
| 326 case COLOR_FRAME_INCOGNITO_INACTIVE: | 328 case COLOR_FRAME_INCOGNITO_INACTIVE: |
| 327 NOTREACHED() << "These values should be queried via their respective " | 329 NOTREACHED() << "These values should be queried via their respective " |
| 328 "non-incognito equivalents and an appropriate |otr| " | 330 "non-incognito equivalents and an appropriate |otr| " |
| 329 "value."; | 331 "value."; |
| 330 default: | 332 default: |
| 331 return gfx::kPlaceholderColor; | 333 return gfx::kPlaceholderColor; |
| 332 } | 334 } |
| 333 } | 335 } |
| OLD | NEW |