diff options
Diffstat (limited to 'chromium/content/shell/browser/shell_browser_main_parts_mac.mm')
-rw-r--r-- | chromium/content/shell/browser/shell_browser_main_parts_mac.mm | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chromium/content/shell/browser/shell_browser_main_parts_mac.mm b/chromium/content/shell/browser/shell_browser_main_parts_mac.mm deleted file mode 100644 index a933705bf16..00000000000 --- a/chromium/content/shell/browser/shell_browser_main_parts_mac.mm +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2013 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 "content/shell/browser/shell_browser_main_parts.h" - -#import <Cocoa/Cocoa.h> - -#include "base/mac/bundle_locations.h" -#include "base/mac/scoped_nsobject.h" -#include "content/shell/browser/shell_application_mac.h" - -namespace content { - -void ShellBrowserMainParts::PreMainMessageLoopStart() { - // Force the NSApplication subclass to be used. - [ShellCrApplication sharedApplication]; - - base::scoped_nsobject<NSNib> nib( - [[NSNib alloc] initWithNibNamed:@"MainMenu" - bundle:base::mac::FrameworkBundle()]); - [nib instantiateNibWithOwner:NSApp topLevelObjects:nil]; -} - -} // namespace content |