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

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: Address sky's comments on PS15. 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
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..babbc919aa66f786c788c333e045d030d49bbc65 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,29 @@ sessions::LiveTab* TabRestoreServiceDelegateImplIOS::GetActiveLiveTab() const {
}
bool TabRestoreServiceDelegateImplIOS::IsTabPinned(int index) const {
+ // Not supported by iOS.
+ NOTREACHED();
return false;
}
+const gfx::Rect TabRestoreServiceDelegateImplIOS::GetRestoredBounds() const {
+ // Not supported by iOS.
+ NOTREACHED();
+ return gfx::Rect();
+}
+
+ui::WindowShowState TabRestoreServiceDelegateImplIOS::GetRestoredState() const {
+ // Not supported by iOS.
+ NOTREACHED();
+ return ui::SHOW_STATE_NORMAL;
+}
+
+std::string TabRestoreServiceDelegateImplIOS::GetWorkspace() const {
+ // Not supported by iOS.
+ NOTREACHED();
+ 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