| OLD | NEW |
| 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 #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 23 matching lines...) Expand all Loading... |
| 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/os_exchange_data.h" | 43 #include "ui/base/dragdrop/os_exchange_data.h" |
| 44 #include "ui/views/drag_utils.h" |
| 44 #include "ui/views/events/event.h" | 45 #include "ui/views/events/event.h" |
| 45 #include "ui/views/widget/native_widget.h" | 46 #include "ui/views/widget/native_widget.h" |
| 46 #include "ui/views/widget/widget.h" | 47 #include "ui/views/widget/widget.h" |
| 47 #include "views/drag_utils.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; |
| 55 | 55 |
| 56 namespace { | 56 namespace { |
| 57 | 57 |
| (...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 void RecordBookmarkLaunch(BookmarkLaunchLocation location) { | 777 void RecordBookmarkLaunch(BookmarkLaunchLocation location) { |
| 778 #if defined(OS_WIN) | 778 #if defined(OS_WIN) |
| 779 // TODO(estade): do this on other platforms too. For now it's compiled out | 779 // TODO(estade): do this on other platforms too. For now it's compiled out |
| 780 // so that stats from platforms for which this is incompletely implemented | 780 // so that stats from platforms for which this is incompletely implemented |
| 781 // don't mix in with Windows, where it should be implemented exhaustively. | 781 // don't mix in with Windows, where it should be implemented exhaustively. |
| 782 UMA_HISTOGRAM_ENUMERATION("Bookmarks.LaunchLocation", location, LAUNCH_LIMIT); | 782 UMA_HISTOGRAM_ENUMERATION("Bookmarks.LaunchLocation", location, LAUNCH_LIMIT); |
| 783 #endif | 783 #endif |
| 784 } | 784 } |
| 785 | 785 |
| 786 } // namespace bookmark_utils | 786 } // namespace bookmark_utils |
| OLD | NEW |