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

Side by Side Diff: chrome/browser/download/download_util.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/browser/download/download_shelf.cc ('k') | chrome/browser/download/save_package.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Download utility implementation 5 // Download utility implementation
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/browser/download/download_util.h" 9 #include "chrome/browser/download/download_util.h"
10 10
11 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
12 #include "base/base_drag_source.h" 13 #include "base/base_drag_source.h"
13 #include "base/file_util.h" 14 #include "base/file_util.h"
14 #include "base/scoped_clipboard_writer.h" 15 #include "base/scoped_clipboard_writer.h"
15 #include "base/string_util.h" 16 #include "base/string_util.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/download/download_item_model.h" 18 #include "chrome/browser/download/download_item_model.h"
18 #include "chrome/browser/download/download_manager.h" 19 #include "chrome/browser/download/download_manager.h"
19 #include "chrome/browser/drag_utils.h" 20 #include "chrome/browser/drag_utils.h"
20 #include "chrome/common/gfx/chrome_canvas.h" 21 #include "chrome/common/gfx/chrome_canvas.h"
21 #include "chrome/common/l10n_util.h"
22 #include "chrome/common/os_exchange_data.h" 22 #include "chrome/common/os_exchange_data.h"
23 #include "chrome/views/view.h" 23 #include "chrome/views/view.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
25 #include "grit/locale_settings.h" 25 #include "grit/locale_settings.h"
26 #include "grit/theme_resources.h" 26 #include "grit/theme_resources.h"
27 #include "skia/ext/image_operations.h" 27 #include "skia/ext/image_operations.h"
28 #include "SkPath.h" 28 #include "SkPath.h"
29 #include "SkShader.h" 29 #include "SkShader.h"
30 30
31 namespace download_util { 31 namespace download_util {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 data->SetFilename(download->full_path().ToWStringHack()); 239 data->SetFilename(download->full_path().ToWStringHack());
240 scoped_refptr<BaseDragSource> drag_source(new BaseDragSource); 240 scoped_refptr<BaseDragSource> drag_source(new BaseDragSource);
241 241
242 // Run the drag and drop loop 242 // Run the drag and drop loop
243 DWORD effects; 243 DWORD effects;
244 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK, 244 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK,
245 &effects); 245 &effects);
246 } 246 }
247 247
248 } // namespace download_util 248 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/download/download_shelf.cc ('k') | chrome/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698