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

Unified Diff: ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm

Issue 2868983003: Ensure History > Recent Tabs restore preserves window disposition. (Closed)
Patch Set: Small fix to WindowCommandFields. 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: ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm
diff --git a/ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm b/ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm
index b766c882e70e44099d5b5a91c97c7b3202579268..b0fb4a00fec389c3186fc30e18f11789822e2314 100644
--- a/ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm
+++ b/ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm
@@ -66,10 +66,26 @@ sessions::LiveTab* TabRestoreServiceDelegateImplIOS::GetActiveLiveTab() const {
return nullptr;
}
+// Not supported by iOS.
sky 2017/07/11 20:28:09 I think this comment would be better inside the fu
chrisha 2017/08/14 14:43:21 Done.
bool TabRestoreServiceDelegateImplIOS::IsTabPinned(int index) const {
return false;
}
+// Not supported by iOS.
+const gfx::Rect TabRestoreServiceDelegateImplIOS::GetRestoredBounds() const {
+ return gfx::Rect();
+}
+
+// Not supported by iOS.
+ui::WindowShowState TabRestoreServiceDelegateImplIOS::GetRestoredState() const {
+ return ui::SHOW_STATE_NORMAL;
+}
+
+// Not supported by iOS.
+std::string TabRestoreServiceDelegateImplIOS::GetWorkspace() const {
+ return std::string();
+}
+
sessions::LiveTab* TabRestoreServiceDelegateImplIOS::AddRestoredTab(
const std::vector<sessions::SerializedNavigationEntry>& navigations,
int tab_index,

Powered by Google App Engine
This is Rietveld 408576698