Index: chrome/browser/ui/browser_navigator.cc |
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc |
index 3c4c671ea228847037d27650d62c5a6a1ad84e8d..bc049b8a0af9f919aa700815def4e40b4548b2af 100644 |
--- a/chrome/browser/ui/browser_navigator.cc |
+++ b/chrome/browser/ui/browser_navigator.cc |
@@ -182,6 +182,13 @@ Browser* GetBrowserForDisposition(chrome::NavigateParams* params) { |
// Make or find an incognito window. |
return GetOrCreateBrowser(profile->GetOffTheRecordProfile(), |
params->host_desktop_type); |
+ case PRESENTATION_WINDOW: { |
+ Browser::CreateParams createParams(profile, params->host_desktop_type); |
+ createParams.initial_bounds = params->window_bounds; |
+ Browser* browser = new Browser(createParams); |
+ browser->RequestPresentationMode(); |
+ return browser; |
+ } |
// The following types all result in no navigation. |
case SUPPRESS_OPEN: |
case SAVE_TO_DISK: |