OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ |
6 #define IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ | 6 #define IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 // Overridden from sessions::LiveTabContext: | 33 // Overridden from sessions::LiveTabContext: |
34 void ShowBrowserWindow() override; | 34 void ShowBrowserWindow() override; |
35 const SessionID& GetSessionID() const override; | 35 const SessionID& GetSessionID() const override; |
36 int GetTabCount() const override; | 36 int GetTabCount() const override; |
37 int GetSelectedIndex() const override; | 37 int GetSelectedIndex() const override; |
38 std::string GetAppName() const override; | 38 std::string GetAppName() const override; |
39 sessions::LiveTab* GetLiveTabAt(int index) const override; | 39 sessions::LiveTab* GetLiveTabAt(int index) const override; |
40 sessions::LiveTab* GetActiveLiveTab() const override; | 40 sessions::LiveTab* GetActiveLiveTab() const override; |
41 bool IsTabPinned(int index) const override; | 41 bool IsTabPinned(int index) const override; |
| 42 const gfx::Rect GetRestoredBounds() const override; |
| 43 ui::WindowShowState GetRestoredState() const override; |
| 44 std::string GetWorkspace() const override; |
42 sessions::LiveTab* AddRestoredTab( | 45 sessions::LiveTab* AddRestoredTab( |
43 const std::vector<sessions::SerializedNavigationEntry>& navigations, | 46 const std::vector<sessions::SerializedNavigationEntry>& navigations, |
44 int tab_index, | 47 int tab_index, |
45 int selected_navigation, | 48 int selected_navigation, |
46 const std::string& extension_app_id, | 49 const std::string& extension_app_id, |
47 bool select, | 50 bool select, |
48 bool pin, | 51 bool pin, |
49 bool from_last_session, | 52 bool from_last_session, |
50 const sessions::PlatformSpecificTabData* tab_platform_data, | 53 const sessions::PlatformSpecificTabData* tab_platform_data, |
51 const std::string& user_agent_override) override; | 54 const std::string& user_agent_override) override; |
(...skipping 10 matching lines...) Expand all Loading... |
62 // Retrieves the current |TabModel| corresponding to |browser_state_|; | 65 // Retrieves the current |TabModel| corresponding to |browser_state_|; |
63 TabModel* tab_model() const; | 66 TabModel* tab_model() const; |
64 | 67 |
65 ios::ChromeBrowserState* browser_state_; // weak | 68 ios::ChromeBrowserState* browser_state_; // weak |
66 SessionID session_id_; | 69 SessionID session_id_; |
67 | 70 |
68 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceDelegateImplIOS); | 71 DISALLOW_COPY_AND_ASSIGN(TabRestoreServiceDelegateImplIOS); |
69 }; | 72 }; |
70 | 73 |
71 #endif // IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ | 74 #endif // IOS_CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_IMPL_IOS_H_ |
OLD | NEW |