Index: extensions/shell/browser/shell_browser_main_parts_mac.mm |
diff --git a/extensions/shell/browser/shell_browser_main_parts_mac.mm b/extensions/shell/browser/shell_browser_main_parts_mac.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ef57648fe0729c093a3331a610c47b8764f987d |
--- /dev/null |
+++ b/extensions/shell/browser/shell_browser_main_parts_mac.mm |
@@ -0,0 +1,16 @@ |
+// Copyright 2014 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 "extensions/shell/browser/shell_browser_main_parts.h" |
+ |
+#import "content/shell/browser/shell_application_mac.h" |
+ |
+namespace extensions { |
+ |
+void ShellBrowserMainParts::PreMainMessageLoopStart() { |
James Cook
2014/12/10 21:05:01
Rather than splitting the implementation of this c
Yoyo Zhou
2014/12/11 02:40:50
I don't think we can have the Mac and non-Mac impl
James Cook
2014/12/11 20:08:28
What I meant was to keep this implementation here,
Yoyo Zhou
2014/12/16 01:11:19
Ok. I like that suggestion.
|
+ // Force the NSApplication subclass to be used. |
+ [ShellCrApplication sharedApplication]; |
+} |
+ |
+} // namespace extensions |