1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/ui/browser_window.h" 6 7 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 9 #include "chrome/browser/ui/gtk/find_bar_gtk.h" 10 11 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { 12 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); 13 browser_window_gtk->Init(); 14 return browser_window_gtk; 15 } 16 17 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { 18 return new FindBarGtk(browser); 19 } 20