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

Unified Diff: chrome/browser/sessions/session_restore.h

Issue 36473002: Foreign session pages now load into current tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « chrome/browser/sessions/OWNERS ('k') | chrome/browser/sessions/session_restore_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore.h
diff --git a/chrome/browser/sessions/session_restore.h b/chrome/browser/sessions/session_restore.h
index 4405c4b44d54fe1387c5439de5bfc04c8f4bfd3b..618e5c2478efa5957562a91557492d14930b47c7 100644
--- a/chrome/browser/sessions/session_restore.h
+++ b/chrome/browser/sessions/session_restore.h
@@ -65,7 +65,8 @@ class SessionRestore {
// Specifically used in the restoration of a foreign session. This method
// restores the given session tab to the browser of |source_web_contents| if
// the disposition is not NEW_WINDOW. Returns the WebContents corresponding
- // to the restored tab.
+ // to the restored tab. The Android implementation of this method takes
sky 2013/11/06 21:19:42 I don't like having a different ownership model fo
apiccion 2013/11/06 21:37:03 The interaction with source_web_contents depends o
sky 2013/11/07 01:12:24 Actually, the non-android implementation does the
apiccion 2013/11/11 05:25:49 Done. Regarding unload handlers: Please see Yaron'
+ // ownership of |source_web_contents|.
static content::WebContents* RestoreForeignSessionTab(
content::WebContents* source_web_contents,
const SessionTab& tab,
« no previous file with comments | « chrome/browser/sessions/OWNERS ('k') | chrome/browser/sessions/session_restore_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698