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

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

Issue 8735009: views: Move some random files from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/download/download_util.h" 7 #include "chrome/browser/download/download_util.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <shobjidl.h> 10 #include <shobjidl.h>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "third_party/skia/include/core/SkShader.h" 51 #include "third_party/skia/include/core/SkShader.h"
52 #include "ui/base/l10n/l10n_util.h" 52 #include "ui/base/l10n/l10n_util.h"
53 #include "ui/base/resource/resource_bundle.h" 53 #include "ui/base/resource/resource_bundle.h"
54 #include "ui/base/text/bytes_formatting.h" 54 #include "ui/base/text/bytes_formatting.h"
55 #include "ui/gfx/canvas_skia.h" 55 #include "ui/gfx/canvas_skia.h"
56 #include "ui/gfx/image/image.h" 56 #include "ui/gfx/image/image.h"
57 #include "ui/gfx/rect.h" 57 #include "ui/gfx/rect.h"
58 58
59 #if defined(TOOLKIT_VIEWS) 59 #if defined(TOOLKIT_VIEWS)
60 #include "ui/base/dragdrop/os_exchange_data.h" 60 #include "ui/base/dragdrop/os_exchange_data.h"
61 #include "views/drag_utils.h" 61 #include "ui/views/drag_utils.h"
62 #endif 62 #endif
63 63
64 #if defined(TOOLKIT_USES_GTK) 64 #if defined(TOOLKIT_USES_GTK)
65 #if defined(TOOLKIT_VIEWS) 65 #if defined(TOOLKIT_VIEWS)
66 #include "ui/base/dragdrop/drag_drop_types.h" 66 #include "ui/base/dragdrop/drag_drop_types.h"
67 #include "ui/views/widget/native_widget_gtk.h" 67 #include "ui/views/widget/native_widget_gtk.h"
68 #elif defined(TOOLKIT_GTK) 68 #elif defined(TOOLKIT_GTK)
69 #include "chrome/browser/ui/gtk/custom_drag.h" 69 #include "chrome/browser/ui/gtk/custom_drag.h"
70 #include "chrome/browser/ui/gtk/unity_service.h" 70 #include "chrome/browser/ui/gtk/unity_service.h"
71 #endif // defined(TOOLKIT_GTK) 71 #endif // defined(TOOLKIT_GTK)
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 return DownloadFile::GetUniquePathNumberWithSuffix( 591 return DownloadFile::GetUniquePathNumberWithSuffix(
592 path, FILE_PATH_LITERAL(".crdownload")); 592 path, FILE_PATH_LITERAL(".crdownload"));
593 } 593 }
594 594
595 FilePath GetCrDownloadPath(const FilePath& suggested_path) { 595 FilePath GetCrDownloadPath(const FilePath& suggested_path) {
596 return DownloadFile::AppendSuffixToPath( 596 return DownloadFile::AppendSuffixToPath(
597 suggested_path, FILE_PATH_LITERAL(".crdownload")); 597 suggested_path, FILE_PATH_LITERAL(".crdownload"));
598 } 598 }
599 599
600 } // namespace download_util 600 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/browser_view.h ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698