Chromium Code Reviews| Index: components/sessions/core/tab_restore_service_client.h |
| diff --git a/components/sessions/core/tab_restore_service_client.h b/components/sessions/core/tab_restore_service_client.h |
| index b5d3b97671fb4f13a45d3ef863fe587c7267444d..888af41f434416cd27f2341ee121d3ae8b342f5b 100644 |
| --- a/components/sessions/core/tab_restore_service_client.h |
| +++ b/components/sessions/core/tab_restore_service_client.h |
| @@ -11,6 +11,8 @@ |
| #include "base/files/file_path.h" |
| #include "components/sessions/core/session_id.h" |
| #include "components/sessions/core/sessions_export.h" |
| +#include "ui/base/ui_base_types.h" |
| +#include "ui/gfx/geometry/rect.h" |
|
sky
2017/05/12 02:42:06
forward declare.
chrisha
2017/06/28 18:30:42
Done.
|
| class GURL; |
| @@ -40,7 +42,11 @@ class SESSIONS_EXPORT TabRestoreServiceClient { |
| // Creates a LiveTabContext instance that is associated with |app_name|. May |
| // return nullptr (e.g., if the embedder does not support LiveTabContext |
| // functionality). |
| - virtual LiveTabContext* CreateLiveTabContext(const std::string& app_name) = 0; |
| + virtual LiveTabContext* CreateLiveTabContext( |
| + const std::string& app_name, |
| + const gfx::Rect& bounds, |
| + ui::WindowShowState show_state, |
| + const std::string& workspace) = 0; |
| // Returns the LiveTabContext instance that is associated with |
| // |tab|, or null if there is no such instance. |