OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_ANDROID_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_ANDROID_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_ANDROID_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/sync/glue/synced_tab_delegate.h" | 9 #include "chrome/browser/sync/glue/synced_tab_delegate.h" |
10 #include "content/public/browser/web_contents_user_data.h" | 10 #include "content/public/browser/web_contents_user_data.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 public: | 25 public: |
26 explicit SyncedTabDelegateAndroid(TabAndroid* owning_tab_); | 26 explicit SyncedTabDelegateAndroid(TabAndroid* owning_tab_); |
27 ~SyncedTabDelegateAndroid() override; | 27 ~SyncedTabDelegateAndroid() override; |
28 | 28 |
29 // Methods from SyncedTabDelegate. | 29 // Methods from SyncedTabDelegate. |
30 SessionID::id_type GetWindowId() const override; | 30 SessionID::id_type GetWindowId() const override; |
31 SessionID::id_type GetSessionId() const override; | 31 SessionID::id_type GetSessionId() const override; |
32 bool IsBeingDestroyed() const override; | 32 bool IsBeingDestroyed() const override; |
33 Profile* profile() const override; | 33 Profile* profile() const override; |
34 std::string GetExtensionAppId() const override; | 34 std::string GetExtensionAppId() const override; |
| 35 bool IsInitialBlankNavigation() const override; |
35 int GetCurrentEntryIndex() const override; | 36 int GetCurrentEntryIndex() const override; |
36 int GetEntryCount() const override; | 37 int GetEntryCount() const override; |
37 int GetPendingEntryIndex() const override; | 38 int GetPendingEntryIndex() const override; |
38 content::NavigationEntry* GetPendingEntry() const override; | 39 content::NavigationEntry* GetPendingEntry() const override; |
39 content::NavigationEntry* GetEntryAtIndex(int i) const override; | 40 content::NavigationEntry* GetEntryAtIndex(int i) const override; |
40 content::NavigationEntry* GetActiveEntry() const override; | 41 content::NavigationEntry* GetActiveEntry() const override; |
41 bool IsPinned() const override; | 42 bool IsPinned() const override; |
42 bool HasWebContents() const override; | 43 bool HasWebContents() const override; |
43 content::WebContents* GetWebContents() const override; | 44 content::WebContents* GetWebContents() const override; |
44 int GetSyncId() const override; | 45 int GetSyncId() const override; |
(...skipping 14 matching lines...) Expand all Loading... |
59 private: | 60 private: |
60 content::WebContents* web_contents_; | 61 content::WebContents* web_contents_; |
61 TabAndroid* tab_android_; | 62 TabAndroid* tab_android_; |
62 TabContentsSyncedTabDelegate* tab_contents_delegate_; | 63 TabContentsSyncedTabDelegate* tab_contents_delegate_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(SyncedTabDelegateAndroid); | 65 DISALLOW_COPY_AND_ASSIGN(SyncedTabDelegateAndroid); |
65 }; | 66 }; |
66 } // namespace browser_sync | 67 } // namespace browser_sync |
67 | 68 |
68 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_ANDROID_H_ | 69 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_TAB_DELEGATE_ANDROID_H_ |
OLD | NEW |