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

Side by Side Diff: chrome/browser/chromeos/dom_ui/imageburner_ui.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 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/chromeos/dom_ui/imageburner_ui.h" 5 #include "chrome/browser/chromeos/dom_ui/imageburner_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h"
11 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
12 #include "base/message_loop.h" 11 #include "base/message_loop.h"
13 #include "base/path_service.h" 12 #include "base/path_service.h"
14 #include "base/singleton.h" 13 #include "base/singleton.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
16 #include "base/task.h" 15 #include "base/task.h"
17 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
18 #include "base/values.h" 17 #include "base/values.h"
19 #include "chrome/browser/browser_thread.h" 18 #include "chrome/browser/browser_thread.h"
20 #include "chrome/browser/download/download_types.h" 19 #include "chrome/browser/download/download_types.h"
21 #include "chrome/browser/download/download_util.h" 20 #include "chrome/browser/download/download_util.h"
22 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/tab_contents/tab_contents.h" 22 #include "chrome/browser/tab_contents/tab_contents.h"
24 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
25 #include "chrome/common/jstemplate_builder.h" 24 #include "chrome/common/jstemplate_builder.h"
26 #include "chrome/common/url_constants.h" 25 #include "chrome/common/url_constants.h"
27 #include "grit/browser_resources.h" 26 #include "grit/browser_resources.h"
28 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
29 #include "grit/locale_settings.h" 28 #include "grit/locale_settings.h"
30 29 #include "ui/base/resource/resource_bundle.h"
31 30
32 //////////////////////////////////////////////////////////////////////////////// 31 ////////////////////////////////////////////////////////////////////////////////
33 // 32 //
34 // ImageBurnUIHTMLSource 33 // ImageBurnUIHTMLSource
35 // 34 //
36 //////////////////////////////////////////////////////////////////////////////// 35 ////////////////////////////////////////////////////////////////////////////////
37 36
38 ImageBurnUIHTMLSource::ImageBurnUIHTMLSource() 37 ImageBurnUIHTMLSource::ImageBurnUIHTMLSource()
39 : DataSource(chrome::kChromeUIImageBurnerHost, MessageLoop::current()) { 38 : DataSource(chrome::kChromeUIImageBurnerHost, MessageLoop::current()) {
40 } 39 }
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 ImageBurnHandler* handler = new ImageBurnHandler(contents); 612 ImageBurnHandler* handler = new ImageBurnHandler(contents);
614 AddMessageHandler((handler)->Attach(this)); 613 AddMessageHandler((handler)->Attach(this));
615 ImageBurnUIHTMLSource* html_source = new ImageBurnUIHTMLSource(); 614 ImageBurnUIHTMLSource* html_source = new ImageBurnUIHTMLSource();
616 BrowserThread::PostTask( 615 BrowserThread::PostTask(
617 BrowserThread::IO, FROM_HERE, 616 BrowserThread::IO, FROM_HERE,
618 NewRunnableMethod( 617 NewRunnableMethod(
619 ChromeURLDataManager::GetInstance(), 618 ChromeURLDataManager::GetInstance(),
620 &ChromeURLDataManager::AddDataSource, 619 &ChromeURLDataManager::AddDataSource,
621 make_scoped_refptr(html_source))); 620 make_scoped_refptr(html_source)));
622 } 621 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/brightness_bubble.cc ('k') | chrome/browser/chromeos/dom_ui/internet_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698