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

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: Remove NOTREACHED(). Created 3 years, 4 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
« no previous file with comments | « ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a1a03f42bf1a628a827a322f9c53eee406412e2a..4f2404bef86351d325e09f081c32e26dffa4be73 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
@@ -68,9 +68,25 @@ sessions::LiveTab* TabRestoreServiceDelegateImplIOS::GetActiveLiveTab() const {
}
bool TabRestoreServiceDelegateImplIOS::IsTabPinned(int index) const {
+ // Not supported by iOS.
return false;
}
+const gfx::Rect TabRestoreServiceDelegateImplIOS::GetRestoredBounds() const {
+ // Not supported by iOS.
+ return gfx::Rect();
+}
+
+ui::WindowShowState TabRestoreServiceDelegateImplIOS::GetRestoredState() const {
+ // Not supported by iOS.
+ return ui::SHOW_STATE_NORMAL;
+}
+
+std::string TabRestoreServiceDelegateImplIOS::GetWorkspace() const {
+ // Not supported by iOS.
+ return std::string();
+}
+
sessions::LiveTab* TabRestoreServiceDelegateImplIOS::AddRestoredTab(
const std::vector<sessions::SerializedNavigationEntry>& navigations,
int tab_index,
« no previous file with comments | « ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698