diff options
Diffstat (limited to 'chrome/browser/browser_main_mac.mm')
-rw-r--r-- | chrome/browser/browser_main_mac.mm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm new file mode 100644 index 0000000..c6c4381 --- /dev/null +++ b/chrome/browser/browser_main_mac.mm @@ -0,0 +1,11 @@ +// Copyright (c) 2006-2008 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 <Cocoa/Cocoa.h> +#include "base/command_line.h" +#include <crt_externs.h> + +int StartPlatformMessageLoop() { + return NSApplicationMain(*_NSGetArgc(), (const char**)*_NSGetArgv()); +} |