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 4452ce697fc592ca1bdf605ec746a0c4045d458d..60cdc1eaf3267e101aa7ae104fe0b4dd1348594d 100644 |
--- a/components/sessions/core/tab_restore_service_client.h |
+++ b/components/sessions/core/tab_restore_service_client.h |
@@ -11,6 +11,7 @@ |
#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" |
class GURL; |
@@ -18,6 +19,10 @@ namespace base { |
class CancelableTaskTracker; |
} |
+namespace gfx { |
+class Rect; |
+} |
+ |
namespace sessions { |
class LiveTab; |
@@ -39,7 +44,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. |