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

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

Issue 3173043: Move theme files in chrome/browser/ into a themes/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser_theme_provider.h" 5 #include "chrome/browser/themes/browser_theme_provider.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
9 #include "base/string_util.h"
10 #include "chrome/browser/browser_theme_pack.h"
11 #include "chrome/browser/extensions/extensions_service.h" 10 #include "chrome/browser/extensions/extensions_service.h"
12 #include "chrome/browser/metrics/user_metrics.h" 11 #include "chrome/browser/metrics/user_metrics.h"
13 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
13 #include "chrome/browser/themes/browser_theme_pack.h"
14 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
15 #include "chrome/common/notification_service.h" 15 #include "chrome/common/notification_service.h"
16 #include "chrome/common/notification_type.h" 16 #include "chrome/common/notification_type.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "grit/app_resources.h" 18 #include "grit/app_resources.h"
19 #include "grit/theme_resources.h" 19 #include "grit/theme_resources.h"
20 20
21 #if defined(OS_WIN) 21 #if defined(OS_WIN)
22 #include "app/win_util.h" 22 #include "app/win_util.h"
23 #endif 23 #endif
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 void BrowserThemeProvider::OnInfobarDisplayed() { 600 void BrowserThemeProvider::OnInfobarDisplayed() {
601 number_of_infobars_++; 601 number_of_infobars_++;
602 } 602 }
603 603
604 void BrowserThemeProvider::OnInfobarDestroyed() { 604 void BrowserThemeProvider::OnInfobarDestroyed() {
605 number_of_infobars_--; 605 number_of_infobars_--;
606 606
607 if (number_of_infobars_ == 0) 607 if (number_of_infobars_ == 0)
608 RemoveUnusedThemes(); 608 RemoveUnusedThemes();
609 } 609 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698