Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Unified Diff: components/sessions/core/tab_restore_service_client.h

Issue 2868983003: Ensure History > Recent Tabs restore preserves window disposition. (Closed)
Patch Set: More iOS fixes. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698