| 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/strings/string16.h" |
| 11 #include "ui/base/window_open_disposition.h" | 11 #include "ui/base/window_open_disposition.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 13 | 13 |
| 14 class BookmarkNode; | 14 class BookmarkNode; |
| 15 class Browser; | 15 class Browser; |
| 16 class GURL; | 16 class GURL; |
| 17 class PrefService; | 17 class PrefService; |
| 18 class Profile; | 18 class Profile; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // of the Apps shortcut should be controllable via an item in the bookmark | 93 // of the Apps shortcut should be controllable via an item in the bookmark |
| 94 // context menu. | 94 // context menu. |
| 95 bool IsAppsShortcutEnabled(const Profile* profile); | 95 bool IsAppsShortcutEnabled(const Profile* profile); |
| 96 | 96 |
| 97 // Returns true if the Apps shortcut should be displayed in the bookmark bar. | 97 // Returns true if the Apps shortcut should be displayed in the bookmark bar. |
| 98 bool ShouldShowAppsShortcutInBookmarkBar(Profile* profile); | 98 bool ShouldShowAppsShortcutInBookmarkBar(Profile* profile); |
| 99 | 99 |
| 100 } // namespace chrome | 100 } // namespace chrome |
| 101 | 101 |
| 102 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ | 102 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_ |
| OLD | NEW |