diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 18:22:22 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 18:22:22 +0000 |
commit | 2c379870fc171cfa718142cdc8fe7e308b0e0b37 (patch) | |
tree | dfb8ae13ea0f2ab8dff4a3db5e78d71619378471 /chrome/browser/browser_init.cc | |
parent | 14c0a03a516a1904225068e135e30769f2b36cb4 (diff) | |
download | chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.zip chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.tar.gz chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.tar.bz2 |
Add a comment to the hwnd view about proper usage. I was using it incorrectly
in when trying to do some ui demos.
Add a hook for the frame window test I'm doing.
Review URL: http://codereview.chromium.org/58013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r-- | chrome/browser/browser_init.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc index e8d10ca..7f87d6c 100644 --- a/chrome/browser/browser_init.cc +++ b/chrome/browser/browser_init.cc @@ -47,6 +47,10 @@ #include "base/win_util.h" #endif +#ifdef FRAME_WINDOW +#include "frame_window/frame_window.h" +#endif + namespace { // A delegate for the InfoBar shown when the previous session has crashed. The @@ -535,6 +539,11 @@ bool BrowserInit::LaunchBrowserImpl(const CommandLine& command_line, int* return_code) { DCHECK(profile); +#ifdef FRAME_WINDOW + FrameWindow::Show(profile); + return true; +#endif + // Continue with the off-the-record profile from here on if --incognito if (command_line.HasSwitch(switches::kIncognito)) profile = profile->GetOffTheRecordProfile(); |