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

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

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 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
« no previous file with comments | « chrome/browser/browser_init.cc ('k') | chrome/browser/drag_utils.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 "base/base_drag_source.h" 11 #include "base/base_drag_source.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/scoped_clipboard_writer.h" 13 #include "base/scoped_clipboard_writer.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "chrome/app/locales/locale_settings.h" 15 #include "chrome/app/locales/locale_settings.h"
16 #include "chrome/app/theme/theme_resources.h" 16 #include "grit/theme_resources.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/download/download_manager.h" 18 #include "chrome/browser/download/download_manager.h"
19 #include "chrome/common/clipboard_service.h" 19 #include "chrome/common/clipboard_service.h"
20 #include "chrome/browser/drag_utils.h" 20 #include "chrome/browser/drag_utils.h"
21 #include "chrome/common/gfx/chrome_canvas.h" 21 #include "chrome/common/gfx/chrome_canvas.h"
22 #include "chrome/common/l10n_util.h" 22 #include "chrome/common/l10n_util.h"
23 #include "chrome/common/os_exchange_data.h" 23 #include "chrome/common/os_exchange_data.h"
24 #include "chrome/common/resource_bundle.h" 24 #include "chrome/common/resource_bundle.h"
25 #include "chrome/views/view.h" 25 #include "chrome/views/view.h"
26 #include "generated_resources.h" 26 #include "generated_resources.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 data->SetFilename(download->full_path().ToWStringHack()); 421 data->SetFilename(download->full_path().ToWStringHack());
422 scoped_refptr<BaseDragSource> drag_source(new BaseDragSource); 422 scoped_refptr<BaseDragSource> drag_source(new BaseDragSource);
423 423
424 // Run the drag and drop loop 424 // Run the drag and drop loop
425 DWORD effects; 425 DWORD effects;
426 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK, 426 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK,
427 &effects); 427 &effects);
428 } 428 }
429 429
430 } // namespace download_util 430 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/browser_init.cc ('k') | chrome/browser/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698