Index: chrome/browser/ui/browser_commands.h |
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h |
index 2113e7708b65a2557febeced9659005f7b66ad09..581267dbd40aad85f2f3426c81ad9823b5757daa 100644 |
--- a/chrome/browser/ui/browser_commands.h |
+++ b/chrome/browser/ui/browser_commands.h |
@@ -47,6 +47,16 @@ void NewEmptyWindow(Profile* profile, HostDesktopType desktop_type); |
// various internal bookkeeping; NewEmptyWindow (above) is preferred. |
Browser* OpenEmptyWindow(Profile* profile, HostDesktopType desktop_type); |
+// Opens a new window with |url| opened in a tab. |
+void NewWindow(Profile* profile, HostDesktopType desktop_type, const GURL& url); |
sky
2014/07/21 16:35:54
Can you use browser_navigator.h to create and navi
vkuzkokov
2014/08/05 17:12:09
Done.
|
+ |
+// Opens a new window with |url| opened in a tab. This bypasses metrics and |
+// various internal bookkeeping; NewWindow (above) is preferred. |
+Browser* OpenWindow(Profile* profile, |
+ HostDesktopType desktop_type, |
+ const GURL& url); |
+ |
+ |
// Opens a new window with the tabs from |profile|'s TabRestoreService. |
void OpenWindowWithRestoredTabs(Profile* profile, |
HostDesktopType host_desktop_type); |