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_UI_BOOKMARKS_BOOKMARK_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ |
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ | 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "ui/base/window_open_disposition.h" |
11 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
12 #include "webkit/glue/window_open_disposition.h" | |
13 | 13 |
14 class BookmarkNode; | 14 class BookmarkNode; |
15 class Browser; | 15 class Browser; |
16 class GURL; | 16 class GURL; |
17 class PrefServiceBase; | 17 class PrefServiceBase; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class BrowserContext; | 20 class BrowserContext; |
21 class PageNavigator; | 21 class PageNavigator; |
22 class WebContents; | 22 class WebContents; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // Returns a formatted version of |url| appropriate to display to a user with | 71 // Returns a formatted version of |url| appropriate to display to a user with |
72 // the given |prefs|, which may be NULL. When re-parsing this URL, clients | 72 // the given |prefs|, which may be NULL. When re-parsing this URL, clients |
73 // should call URLFixerUpper::FixupURL(). | 73 // should call URLFixerUpper::FixupURL(). |
74 string16 FormatBookmarkURLForDisplay(const GURL& url, | 74 string16 FormatBookmarkURLForDisplay(const GURL& url, |
75 const PrefServiceBase* prefs); | 75 const PrefServiceBase* prefs); |
76 | 76 |
77 } // namespace chrome | 77 } // namespace chrome |
78 | 78 |
79 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ | 79 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ |
OLD | NEW |