diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 21:39:09 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 21:39:09 +0000 |
commit | 93e1840d65de867d2ec82c97191e9bc028581b68 (patch) | |
tree | bfa240b62f9e646b44ab869fac7b4b50fe7f90cf /chrome/browser/browser_window_factory.mm | |
parent | d61b508b17797ab48dbbf181d2cc5b2604cc8bad (diff) | |
download | chromium_src-93e1840d65de867d2ec82c97191e9bc028581b68.zip chromium_src-93e1840d65de867d2ec82c97191e9bc028581b68.tar.gz chromium_src-93e1840d65de867d2ec82c97191e9bc028581b68.tar.bz2 |
Initial implementation of the FindBar on Mac.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window_factory.mm')
-rw-r--r-- | chrome/browser/browser_window_factory.mm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/browser_window_factory.mm b/chrome/browser/browser_window_factory.mm index 33d0070..bead83b 100644 --- a/chrome/browser/browser_window_factory.mm +++ b/chrome/browser/browser_window_factory.mm @@ -3,8 +3,11 @@ // found in the LICENSE file. #include "base/logging.h" +#include "chrome/browser/browser.h" #include "chrome/browser/browser_window.h" +#include "chrome/browser/cocoa/browser_window_cocoa.h" #include "chrome/browser/cocoa/browser_window_controller.h" +#include "chrome/browser/cocoa/find_bar_bridge.h" // Create the controller for the Browser, which handles loading the browser // window from the nib. The controller takes ownership of |browser|. @@ -20,7 +23,6 @@ BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { } // static -FindBar* BrowserWindow::CreateFindBar(Browser* browser_window) { - NOTIMPLEMENTED(); - return NULL; +FindBar* BrowserWindow::CreateFindBar(Browser* browser) { + return new FindBarBridge(static_cast<BrowserWindowCocoa*>(browser->window())); } |