]> khamidou — GitHub mirrors - electron.git/commitdiff
mac: Move OS X only files to atom/browser/mac.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 15 Apr 2014 01:35:26 +0000 (09:35 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 15 Apr 2014 01:35:26 +0000 (09:35 +0800)
atom.gyp
atom/browser/atom_browser_main_parts_mac.mm
atom/browser/browser_mac.mm
atom/browser/mac/atom_application.h [moved from atom/browser/atom_application_mac.h with 100% similarity]
atom/browser/mac/atom_application.mm [moved from atom/browser/atom_application_mac.mm with 96% similarity]
atom/browser/mac/atom_application_delegate.h [moved from atom/browser/atom_application_delegate_mac.h with 100% similarity]
atom/browser/mac/atom_application_delegate.mm [moved from atom/browser/atom_application_delegate_mac.mm with 92% similarity]

index dd634957e3210aabdd8da989ad373c47fdc57e08..9ceabcb939270791906c8914fb1a891cf3e4c2bd 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
       'atom/browser/auto_updater_linux.cc',
       'atom/browser/auto_updater_mac.mm',
       'atom/browser/auto_updater_win.cc',
-      'atom/browser/atom_application_mac.h',
-      'atom/browser/atom_application_mac.mm',
-      'atom/browser/atom_application_delegate_mac.h',
-      'atom/browser/atom_application_delegate_mac.mm',
       'atom/browser/atom_browser_client.cc',
       'atom/browser/atom_browser_client.h',
       'atom/browser/atom_browser_context.cc',
       'atom/browser/devtools_delegate.h',
       'atom/browser/devtools_web_contents_observer.cc',
       'atom/browser/devtools_web_contents_observer.h',
+      'atom/browser/mac/atom_application.h',
+      'atom/browser/mac/atom_application.mm',
+      'atom/browser/mac/atom_application_delegate.h',
+      'atom/browser/mac/atom_application_delegate.mm',
       'atom/browser/native_window.cc',
       'atom/browser/native_window.h',
       'atom/browser/native_window_gtk.cc',
index 2f26145428699b0b1be79e35434c543cb31a2992..b32e74b43659939b62a4092d7b65bf43715164be 100644 (file)
@@ -4,10 +4,10 @@
 
 #include "atom/browser/atom_browser_main_parts.h"
 
+#import "atom/browser/mac/atom_application.h"
+#import "atom/browser/mac/atom_application_delegate.h"
 #include "base/files/file_path.h"
 #import "base/mac/foundation_util.h"
-#import "atom/browser/atom_application_mac.h"
-#import "atom/browser/atom_application_delegate_mac.h"
 #import "vendor/brightray/common/mac/main_application_bundle.h"
 
 namespace atom {
index a0ee535faaf7756063ab5b033e2b6b7088bc6796..f193509cd7df668b42431eaf571b0bb51ca40501 100644 (file)
@@ -6,7 +6,7 @@
 
 #import "base/mac/bundle_locations.h"
 #include "base/strings/sys_string_conversions.h"
-#import "atom/browser/atom_application_mac.h"
+#import "atom/browser/mac/atom_application.h"
 
 namespace atom {
 
similarity index 96%
rename from atom/browser/atom_application_mac.mm
rename to atom/browser/mac/atom_application.mm
index 6a055b15a95d6b84cb6e9ec3c35d45ad48db78c3..cbcba303809d40d5fa7bb160c97d745ae5a02f4b 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "atom/browser/atom_application_mac.h"
+#import "atom/browser/mac/atom_application.h"
 
 #include "base/auto_reset.h"
 #include "base/strings/sys_string_conversions.h"
similarity index 92%
rename from atom/browser/atom_application_delegate_mac.mm
rename to atom/browser/mac/atom_application_delegate.mm
index 9dfb86565413b533f0b5578e6d383a3ca36418b3..be00b4473a18a0763f7fc0d789c08033f8f80e1b 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#import "atom/browser/atom_application_delegate_mac.h"
+#import "atom/browser/mac/atom_application_delegate.h"
 
-#include "base/strings/sys_string_conversions.h"
-#import "atom/browser/atom_application_mac.h"
+#import "atom/browser/mac/atom_application.h"
 #include "atom/browser/browser.h"
+#include "base/strings/sys_string_conversions.h"
 
 @implementation AtomApplicationDelegate