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

Side by Side Diff: chrome/browser/themes/theme_properties.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698