Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Side by Side Diff: content/shell/shell_browser_main_mac.mm

Issue 9656002: Make helper app, get closer to working content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/shell/shell_browser_main.h"
6
7 #import <Cocoa/Cocoa.h>
8
9 #include "base/mac/bundle_locations.h"
10 #include "base/memory/scoped_nsobject.h"
11
12 namespace content {
13
14 void ShellBrowserMainParts::PreMainMessageLoopStart() {
15 scoped_nsobject<NSNib>
16 nib([[NSNib alloc] initWithNibNamed:@"MainMenu"
17 bundle:base::mac::FrameworkBundle()]);
18 [nib instantiateNibWithOwner:NSApp topLevelObjects:nil];
19 }
20
21 } // namespace
Mark Mentovai 2012/03/09 17:49:26 This comment says you’re ending an anonymous names
Avi (use Gerrit) 2012/03/09 22:05:59 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698