summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/android/tab_model/tab_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/android/tab_model/tab_model.h')
-rw-r--r--chrome/browser/ui/android/tab_model/tab_model.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index 129164a..60ac947 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -53,9 +53,13 @@ class TabModel : public content::NotificationObserver,
// Used for restoring tabs from synced foreign sessions.
virtual void CreateTab(content::WebContents* web_contents) = 0;
- // Used for creating a new tab with a given URL.
+ // Used for creating a new tab with a given URL. DO NOT USE.
virtual content::WebContents* CreateTabForTesting(const GURL& url) = 0;
+ // Used by Developer Tools to create a new tab with a given URL.
+ // Replaces CreateTabForTesting.
+ virtual content::WebContents* CreateNewTabForDevTools(const GURL& url) = 0;
+
// Return true if we are currently restoring sessions asynchronously.
virtual bool IsSessionRestoreInProgress() const = 0;