OLD | NEW |
1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "chrome/browser/bookmarks/bookmark_editor.h" | 13 #include "chrome/browser/bookmarks/bookmark_editor.h" |
14 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 14 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
15 #include "chrome/browser/history/snippet.h" | 15 #include "chrome/browser/history/snippet.h" |
16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
17 #include "webkit/glue/window_open_disposition.h" | 17 #include "webkit/glue/window_open_disposition.h" |
18 | 18 |
19 class BookmarkModel; | 19 class BookmarkModel; |
20 class BookmarkNode; | 20 class BookmarkNode; |
21 class Browser; | 21 class Browser; |
22 class PrefService; | 22 class PrefService; |
23 class Profile; | 23 class Profile; |
24 class TabContents; | |
25 | 24 |
26 namespace content { | 25 namespace content { |
27 class PageNavigator; | 26 class PageNavigator; |
28 class WebContents; | 27 class WebContents; |
29 } | 28 } |
30 | 29 |
31 namespace views { | 30 namespace views { |
32 class DropTargetEvent; | 31 class DropTargetEvent; |
33 } | 32 } |
34 | 33 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 263 |
265 LAUNCH_LIMIT // Keep this last. | 264 LAUNCH_LIMIT // Keep this last. |
266 }; | 265 }; |
267 | 266 |
268 // Records the launch of a bookmark for UMA purposes. | 267 // Records the launch of a bookmark for UMA purposes. |
269 void RecordBookmarkLaunch(BookmarkLaunchLocation location); | 268 void RecordBookmarkLaunch(BookmarkLaunchLocation location); |
270 | 269 |
271 } // namespace bookmark_utils | 270 } // namespace bookmark_utils |
272 | 271 |
273 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 272 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ |
OLD | NEW |