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

Side by Side Diff: chrome/browser/ui/webui/theme_handler.cc

Issue 19073003: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
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/ui/webui/theme_handler.h" 5 #include "chrome/browser/ui/webui/theme_handler.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/themes/theme_service.h" 10 #include "chrome/browser/themes/theme_service.h"
10 #include "chrome/browser/themes/theme_service_factory.h" 11 #include "chrome/browser/themes/theme_service_factory.h"
11 #include "chrome/browser/ui/webui/theme_source.h" 12 #include "chrome/browser/ui/webui/theme_source.h"
12 #include "chrome/common/chrome_notification_types.h"
13 #include "content/public/browser/notification_service.h" 13 #include "content/public/browser/notification_service.h"
14 #include "content/public/browser/web_ui.h" 14 #include "content/public/browser/web_ui.h"
15 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
16 16
17 /////////////////////////////////////////////////////////////////////////////// 17 ///////////////////////////////////////////////////////////////////////////////
18 // ThemeHandler 18 // ThemeHandler
19 19
20 ThemeHandler::ThemeHandler() { 20 ThemeHandler::ThemeHandler() {
21 } 21 }
22 22
(...skipping 24 matching lines...) Expand all
47 47
48 void ThemeHandler::InitializeCSSCaches() { 48 void ThemeHandler::InitializeCSSCaches() {
49 Profile* profile = GetProfile(); 49 Profile* profile = GetProfile();
50 ThemeSource* theme = new ThemeSource(profile); 50 ThemeSource* theme = new ThemeSource(profile);
51 content::URLDataSource::Add(profile, theme); 51 content::URLDataSource::Add(profile, theme);
52 } 52 }
53 53
54 Profile* ThemeHandler::GetProfile() const { 54 Profile* ThemeHandler::GetProfile() const {
55 return Profile::FromWebUI(web_ui()); 55 return Profile::FromWebUI(web_ui());
56 } 56 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/task_manager/task_manager_handler.cc ('k') | chrome/browser/ui/webui/uber/uber_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698