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

Unified Diff: extensions/shell/browser/shell_browser_main_parts_mac.mm

Issue 745093002: AppShell support for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minors Created 6 years 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 side-by-side diff with in-line comments
Download patch
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..9fe902dc3c9e211908d5d6a32217a36e98a5814a
--- /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 MainPartsPreMainMessageLoopStartMac() {
+ // Force the NSApplication subclass to be used.
+ [ShellCrApplication sharedApplication];
+}
+
+} // namespace extensions
« no previous file with comments | « extensions/shell/browser/shell_browser_main_parts_mac.h ('k') | extensions/shell/browser/shell_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698