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

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

Issue 9835013: Ash: Don't show window icon or title for app windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to BrowserView, add line Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_service.h" 5 #include "chrome/browser/themes/theme_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/string_split.h" 8 #include "base/string_split.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #endif // USE_AURA 76 #endif // USE_AURA
77 const SkColor kDefaultColorFrameIncognito = SkColorSetRGB(83, 106, 139); 77 const SkColor kDefaultColorFrameIncognito = SkColorSetRGB(83, 106, 139);
78 const SkColor kDefaultColorFrameIncognitoInactive = 78 const SkColor kDefaultColorFrameIncognitoInactive =
79 SkColorSetRGB(126, 139, 156); 79 SkColorSetRGB(126, 139, 156);
80 #if defined(OS_MACOSX) 80 #if defined(OS_MACOSX)
81 const SkColor kDefaultColorToolbar = SkColorSetRGB(230, 230, 230); 81 const SkColor kDefaultColorToolbar = SkColorSetRGB(230, 230, 230);
82 #else 82 #else
83 const SkColor kDefaultColorToolbar = SkColorSetRGB(223, 223, 223); 83 const SkColor kDefaultColorToolbar = SkColorSetRGB(223, 223, 223);
84 #endif 84 #endif
85 #if defined(USE_AURA) 85 #if defined(USE_AURA)
86 const SkColor kDefaultColorToolbarSeparator = SkColorSetRGB(128, 128, 128); 86 const SkColor kDefaultColorToolbarSeparator = SkColorSetRGB(136, 136, 136);
87 #else 87 #else
88 const SkColor kDefaultColorToolbarSeparator = SkColorSetRGB(182, 186, 192); 88 const SkColor kDefaultColorToolbarSeparator = SkColorSetRGB(182, 186, 192);
89 #endif 89 #endif
90 const SkColor kDefaultColorTabText = SK_ColorBLACK; 90 const SkColor kDefaultColorTabText = SK_ColorBLACK;
91 #if defined(OS_MACOSX) 91 #if defined(OS_MACOSX)
92 const SkColor kDefaultColorBackgroundTabText = SK_ColorBLACK; 92 const SkColor kDefaultColorBackgroundTabText = SK_ColorBLACK;
93 #else 93 #else
94 const SkColor kDefaultColorBackgroundTabText = SkColorSetRGB(64, 64, 64); 94 const SkColor kDefaultColorBackgroundTabText = SkColorSetRGB(64, 64, 64);
95 #endif 95 #endif
96 const SkColor kDefaultColorBookmarkText = SK_ColorBLACK; 96 const SkColor kDefaultColorBookmarkText = SK_ColorBLACK;
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 void ThemeService::OnInfobarDisplayed() { 673 void ThemeService::OnInfobarDisplayed() {
674 number_of_infobars_++; 674 number_of_infobars_++;
675 } 675 }
676 676
677 void ThemeService::OnInfobarDestroyed() { 677 void ThemeService::OnInfobarDestroyed() {
678 number_of_infobars_--; 678 number_of_infobars_--;
679 679
680 if (number_of_infobars_ == 0) 680 if (number_of_infobars_ == 0)
681 RemoveUnusedThemes(); 681 RemoveUnusedThemes();
682 } 682 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698