| 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 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ |
| 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 213 |
| 214 LAUNCH_LIMIT // Keep this last. | 214 LAUNCH_LIMIT // Keep this last. |
| 215 }; | 215 }; |
| 216 | 216 |
| 217 // Records the launch of a bookmark for UMA purposes. | 217 // Records the launch of a bookmark for UMA purposes. |
| 218 void RecordBookmarkLaunch(BookmarkLaunchLocation location); | 218 void RecordBookmarkLaunch(BookmarkLaunchLocation location); |
| 219 | 219 |
| 220 // Records the user opening a folder of bookmarks for UMA purposes. | 220 // Records the user opening a folder of bookmarks for UMA purposes. |
| 221 void RecordBookmarkFolderOpen(BookmarkLaunchLocation location); | 221 void RecordBookmarkFolderOpen(BookmarkLaunchLocation location); |
| 222 | 222 |
| 223 // Records the user opening the apps page for UMA purposes. |
| 224 void RecordAppsPageOpen(BookmarkLaunchLocation location); |
| 225 |
| 223 #if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(USE_AURA) | 226 #if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(USE_AURA) |
| 224 void DisableBookmarkBarViewAnimationsForTesting(bool disabled); | 227 void DisableBookmarkBarViewAnimationsForTesting(bool disabled); |
| 225 bool IsBookmarkBarViewAnimationsDisabled(); | 228 bool IsBookmarkBarViewAnimationsDisabled(); |
| 226 #endif | 229 #endif |
| 227 | 230 |
| 228 } // namespace bookmark_utils | 231 } // namespace bookmark_utils |
| 229 | 232 |
| 230 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 233 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ |
| OLD | NEW |