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

Side by Side Diff: chrome/browser/bookmarks/bookmark_utils.cc

Issue 9582041: Move most of ui/views/drag_utils to ui/base/dragdrop so it can be used outside of views. I tried to… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/download/download_util.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bookmarks/bookmark_utils.h" 5 #include "chrome/browser/bookmarks/bookmark_utils.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 22 matching lines...) Expand all
33 #include "net/base/net_util.h" 33 #include "net/base/net_util.h"
34 #include "ui/base/dragdrop/drag_drop_types.h" 34 #include "ui/base/dragdrop/drag_drop_types.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 #include "ui/base/models/tree_node_iterator.h" 36 #include "ui/base/models/tree_node_iterator.h"
37 37
38 #if defined(OS_MACOSX) 38 #if defined(OS_MACOSX)
39 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" 39 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h"
40 #endif 40 #endif
41 41
42 #if defined(TOOLKIT_VIEWS) 42 #if defined(TOOLKIT_VIEWS)
43 #include "ui/base/dragdrop/drag_utils.h"
43 #include "ui/base/dragdrop/os_exchange_data.h" 44 #include "ui/base/dragdrop/os_exchange_data.h"
44 #include "ui/views/drag_utils.h"
45 #include "ui/views/events/event.h" 45 #include "ui/views/events/event.h"
46 #include "ui/views/widget/native_widget.h" 46 #include "ui/views/widget/native_widget.h"
47 #include "ui/views/widget/widget.h" 47 #include "ui/views/widget/widget.h"
48 #endif 48 #endif
49 49
50 #if defined(TOOLKIT_GTK) 50 #if defined(TOOLKIT_GTK)
51 #include "chrome/browser/ui/gtk/custom_drag.h" 51 #include "chrome/browser/ui/gtk/custom_drag.h"
52 #endif 52 #endif
53 53
54 using base::Time; 54 using base::Time;
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 void RecordBookmarkLaunch(BookmarkLaunchLocation location) { 769 void RecordBookmarkLaunch(BookmarkLaunchLocation location) {
770 #if defined(OS_WIN) 770 #if defined(OS_WIN)
771 // TODO(estade): do this on other platforms too. For now it's compiled out 771 // TODO(estade): do this on other platforms too. For now it's compiled out
772 // so that stats from platforms for which this is incompletely implemented 772 // so that stats from platforms for which this is incompletely implemented
773 // don't mix in with Windows, where it should be implemented exhaustively. 773 // don't mix in with Windows, where it should be implemented exhaustively.
774 UMA_HISTOGRAM_ENUMERATION("Bookmarks.LaunchLocation", location, LAUNCH_LIMIT); 774 UMA_HISTOGRAM_ENUMERATION("Bookmarks.LaunchLocation", location, LAUNCH_LIMIT);
775 #endif 775 #endif
776 } 776 }
777 777
778 } // namespace bookmark_utils 778 } // namespace bookmark_utils
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698