| 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_TABS_TAB_STRIP_MODEL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "content/public/common/page_transition_types.h" | |
| 11 | |
| 12 class Browser; | 10 class Browser; |
| 13 class GURL; | 11 class GURL; |
| 14 | 12 |
| 15 namespace content { | 13 namespace content { |
| 16 class WebContents; | 14 class WebContents; |
| 17 } | 15 } |
| 18 | 16 |
| 19 namespace gfx { | 17 namespace gfx { |
| 20 class Rect; | 18 class Rect; |
| 21 } | 19 } |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 109 |
| 112 // Returns true if we should allow "bookmark all tabs" in this window; this is | 110 // Returns true if we should allow "bookmark all tabs" in this window; this is |
| 113 // true when there is more than one bookmarkable tab open. | 111 // true when there is more than one bookmarkable tab open. |
| 114 virtual bool CanBookmarkAllTabs() const = 0; | 112 virtual bool CanBookmarkAllTabs() const = 0; |
| 115 | 113 |
| 116 // Creates a bookmark folder containing a bookmark for all open tabs. | 114 // Creates a bookmark folder containing a bookmark for all open tabs. |
| 117 virtual void BookmarkAllTabs() = 0; | 115 virtual void BookmarkAllTabs() = 0; |
| 118 }; | 116 }; |
| 119 | 117 |
| 120 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ | 118 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
| OLD | NEW |