OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ |
6 #define CHROME_BROWSER_UI_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // Overridden from LiveTabContext: | 27 // Overridden from LiveTabContext: |
28 void ShowBrowserWindow() override; | 28 void ShowBrowserWindow() override; |
29 const SessionID& GetSessionID() const override; | 29 const SessionID& GetSessionID() const override; |
30 int GetTabCount() const override; | 30 int GetTabCount() const override; |
31 int GetSelectedIndex() const override; | 31 int GetSelectedIndex() const override; |
32 std::string GetAppName() const override; | 32 std::string GetAppName() const override; |
33 sessions::LiveTab* GetLiveTabAt(int index) const override; | 33 sessions::LiveTab* GetLiveTabAt(int index) const override; |
34 sessions::LiveTab* GetActiveLiveTab() const override; | 34 sessions::LiveTab* GetActiveLiveTab() const override; |
35 bool IsTabPinned(int index) const override; | 35 bool IsTabPinned(int index) const override; |
| 36 const gfx::Rect GetBounds() const override; |
| 37 ui::WindowShowState GetShowState() const override; |
| 38 std::string GetWorkspace() const override; |
36 sessions::LiveTab* AddRestoredTab( | 39 sessions::LiveTab* AddRestoredTab( |
37 const std::vector<sessions::SerializedNavigationEntry>& navigations, | 40 const std::vector<sessions::SerializedNavigationEntry>& navigations, |
38 int tab_index, | 41 int tab_index, |
39 int selected_navigation, | 42 int selected_navigation, |
40 const std::string& extension_app_id, | 43 const std::string& extension_app_id, |
41 bool select, | 44 bool select, |
42 bool pin, | 45 bool pin, |
43 bool from_last_session, | 46 bool from_last_session, |
44 const sessions::PlatformSpecificTabData* storage_namespace, | 47 const sessions::PlatformSpecificTabData* storage_namespace, |
45 const std::string& user_agent_override) override; | 48 const std::string& user_agent_override) override; |
(...skipping 11 matching lines...) Expand all Loading... |
57 static sessions::LiveTabContext* FindContextWithID( | 60 static sessions::LiveTabContext* FindContextWithID( |
58 SessionID::id_type desired_id); | 61 SessionID::id_type desired_id); |
59 | 62 |
60 private: | 63 private: |
61 TabModel* tab_model_; | 64 TabModel* tab_model_; |
62 DISALLOW_COPY_AND_ASSIGN(AndroidLiveTabContext); | 65 DISALLOW_COPY_AND_ASSIGN(AndroidLiveTabContext); |
63 }; | 66 }; |
64 | 67 |
65 | 68 |
66 #endif // CHROME_BROWSER_UI_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ | 69 #endif // CHROME_BROWSER_UI_ANDROID_TAB_MODEL_ANDROID_LIVE_TAB_CONTEXT_H_ |
OLD | NEW |