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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.h

Issue 103213015: Pass through the parent_tab_id when creating a new tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the unittest Created 6 years, 11 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: chrome/browser/ui/android/tab_model/tab_model.h
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index f19a935cb69320f4315a851aad00af45f78addb9..567b8e7a7b1b58553ac8b7a770ba51b1c181fd71 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -47,7 +47,8 @@ class TabModel : public content::NotificationObserver {
virtual void CloseTabAt(int index) = 0;
// Used for restoring tabs from synced foreign sessions.
- virtual void CreateTab(content::WebContents* web_contents) = 0;
+ virtual void CreateTab(content::WebContents* web_contents,
+ int parent_tab_id) = 0;
// Used by Developer Tools to create a new tab with a given URL.
// Replaces CreateTabForTesting.
« no previous file with comments | « chrome/browser/sessions/session_restore_android.cc ('k') | chrome/browser/ui/android/tab_model/tab_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698