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_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/sessions/session_id.h" | 10 #include "chrome/browser/sessions/session_id.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Methods from NavigationController. | 37 // Methods from NavigationController. |
38 | 38 |
39 virtual int GetCurrentEntryIndex() const = 0; | 39 virtual int GetCurrentEntryIndex() const = 0; |
40 virtual int GetEntryCount() const = 0; | 40 virtual int GetEntryCount() const = 0; |
41 virtual int GetPendingEntryIndex() const = 0; | 41 virtual int GetPendingEntryIndex() const = 0; |
42 virtual content::NavigationEntry* GetPendingEntry() const = 0; | 42 virtual content::NavigationEntry* GetPendingEntry() const = 0; |
43 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0; | 43 virtual content::NavigationEntry* GetEntryAtIndex(int i) const = 0; |
44 virtual content::NavigationEntry* GetActiveEntry() const = 0; | 44 virtual content::NavigationEntry* GetActiveEntry() const = 0; |
45 | 45 |
46 virtual bool IsPinned() const = 0; | 46 virtual bool IsPinned() const = 0; |
| 47 virtual bool HasWebContents() const = 0; |
47 }; | 48 }; |
48 | 49 |
49 } // namespace browser_sync | 50 } // namespace browser_sync |
50 | 51 |
51 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ | 52 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_H__ |
OLD | NEW |