| Index: chrome/browser/ui/browser_live_tab_context.h
|
| diff --git a/chrome/browser/ui/browser_live_tab_context.h b/chrome/browser/ui/browser_live_tab_context.h
|
| index c92b4e0d3a96c96becb986ecdfd9ba911b7d21bb..7ffa3dde0d971ffb4ecbc356da45b65f4580152b 100644
|
| --- a/chrome/browser/ui/browser_live_tab_context.h
|
| +++ b/chrome/browser/ui/browser_live_tab_context.h
|
| @@ -11,6 +11,8 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "components/sessions/core/live_tab_context.h"
|
| +#include "ui/base/ui_base_types.h"
|
| +#include "ui/gfx/geometry/rect.h"
|
|
|
| class Browser;
|
| class Profile;
|
| @@ -35,6 +37,10 @@ class BrowserLiveTabContext : public sessions::LiveTabContext {
|
| sessions::LiveTab* GetLiveTabAt(int index) const override;
|
| sessions::LiveTab* GetActiveLiveTab() const override;
|
| bool IsTabPinned(int index) const override;
|
| + const gfx::Rect GetBounds() const override;
|
| + ui::WindowShowState GetShowState() const override;
|
| + std::string GetWorkspace() const override;
|
| +
|
| sessions::LiveTab* AddRestoredTab(
|
| const std::vector<sessions::SerializedNavigationEntry>& navigations,
|
| int tab_index,
|
| @@ -55,9 +61,11 @@ class BrowserLiveTabContext : public sessions::LiveTabContext {
|
| void CloseTab() override;
|
|
|
| // see Browser::Create
|
| - static sessions::LiveTabContext* Create(
|
| - Profile* profile,
|
| - const std::string& app_name);
|
| + static sessions::LiveTabContext* Create(Profile* profile,
|
| + const std::string& app_name,
|
| + const gfx::Rect& bounds,
|
| + ui::WindowShowState show_state,
|
| + const std::string& workspace);
|
|
|
| // see browser::FindBrowserForWebContents
|
| static sessions::LiveTabContext* FindContextForWebContents(
|
|
|