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 dd63495..9ceabcb 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 2f26145..b32e74b 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 a0ee535..f193509 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 6a055b1..cbcba30 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"
@@ -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