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

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

Issue 12386088: Add a shortcut to open the Apps page from the bookmark bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and answered sky's comments. Created 7 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/bookmarks/bookmark_utils.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 #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
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_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698