summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_factory_gtk.cc
blob: 4cd7d2d5d17b460ffafcff06faeb5663aee9a088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/browser_window.h"

#include "chrome/browser/browser.h"
#include "chrome/browser/gtk/browser_window_gtk.h"
#include "chrome/browser/gtk/find_bar_gtk.h"

BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
  return new BrowserWindowGtk(browser);
}

FindBar* BrowserWindow::CreateFindBar(Browser* browser) {
  return new FindBarGtk(static_cast<BrowserWindowGtk*>(browser->window()));
}