Index: chrome/browser/ui/views/frame/browser_view.cc |
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
index 7464350424c0c602287a17df265d5d057eb576ee..5b36fe90b0d6f7cf3e68c72d4ff52a9291f632fc 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -70,6 +70,7 @@ |
#include "chrome/browser/ui/views/frame/browser_view_layout_delegate.h" |
#include "chrome/browser/ui/views/frame/contents_container.h" |
#include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
+#include "chrome/browser/ui/views/frame/native_browser_frame_factory.h" |
#include "chrome/browser/ui/views/frame/top_container_view.h" |
#include "chrome/browser/ui/views/fullscreen_exit_bubble_views.h" |
#include "chrome/browser/ui/views/infobars/infobar_container_view.h" |
@@ -2540,6 +2541,12 @@ BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { |
return view; |
} |
+// static |
+chrome::HostDesktopType BrowserWindow::AdjustHostDesktopType( |
+ chrome::HostDesktopType desktop_type) { |
+ return NativeBrowserFrameFactory::AdjustHostDesktopType(desktop_type); |
+} |
+ |
void BrowserView::ShowAvatarBubble(WebContents* web_contents, |
const gfx::Rect& rect) { |
gfx::Point origin(rect.origin()); |