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

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

Issue 2868983003: Ensure History > Recent Tabs restore preserves window disposition. (Closed)
Patch Set: Minor cleanup. Created 3 years, 6 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/live_tab_context.h
diff --git a/components/sessions/core/live_tab_context.h b/components/sessions/core/live_tab_context.h
index 03615b0c31aab0f813665113331e6a6ba5b4c102..bea277b343e980fc9b4680c6c38c5889f334d0d5 100644
--- a/components/sessions/core/live_tab_context.h
+++ b/components/sessions/core/live_tab_context.h
@@ -10,6 +10,11 @@
#include "components/sessions/core/session_id.h"
#include "components/sessions/core/sessions_export.h"
+#include "ui/base/ui_base_types.h"
+
+namespace gfx {
+class Rect;
+}
namespace sessions {
@@ -31,6 +36,9 @@ class SESSIONS_EXPORT LiveTabContext {
virtual LiveTab* GetLiveTabAt(int index) const = 0;
virtual LiveTab* GetActiveLiveTab() const = 0;
virtual bool IsTabPinned(int index) const = 0;
+ virtual const gfx::Rect GetBounds() const = 0;
sky 2017/06/28 22:38:00 I favor making these functions match the functions
chrisha 2017/06/30 15:42:12 Done.
+ virtual ui::WindowShowState GetShowState() const = 0;
+ virtual std::string GetWorkspace() const = 0;
// Note: |tab_platform_data| may be null (e.g., if |from_last_session| is
// true, as this data is not persisted, or if the platform does not provide

Powered by Google App Engine
This is Rietveld 408576698