OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |