]> khamidou — GitHub mirrors - electron.git/commitdiff
Move nsalert_synchronous_sheet to browser/ui.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 13 Aug 2013 09:00:30 +0000 (17:00 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 13 Aug 2013 09:00:30 +0000 (17:00 +0800)
atom.gyp
browser/ui/message_box_mac.mm
browser/ui/nsalert_synchronous_sheet_mac.h [moved from browser/nsalert_synchronous_sheet.h with 100% similarity]
browser/ui/nsalert_synchronous_sheet_mac.mm [moved from browser/nsalert_synchronous_sheet.mm with 95% similarity]

index f05d2cd538ab80a49a719ea183dbe21e68bc5b32..e954b4656ce66d1a11ec2e7e306efb9db5e6b0df 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
       'browser/native_window_win.cc',
       'browser/native_window_win.h',
       'browser/native_window_observer.h',
-      'browser/nsalert_synchronous_sheet.h',
-      'browser/nsalert_synchronous_sheet.mm',
       'browser/ui/file_dialog.h',
       'browser/ui/file_dialog_mac.mm',
       'browser/ui/file_dialog_win.cc',
       'browser/ui/message_box.h',
       'browser/ui/message_box_mac.mm',
       'browser/ui/message_box_win.cc',
+      'browser/ui/nsalert_synchronous_sheet_mac.h',
+      'browser/ui/nsalert_synchronous_sheet_mac.mm',
       'browser/window_list.cc',
       'browser/window_list.h',
       'browser/window_list_observer.h',
index f006ffb5e0bd875bc4b0270e7ac6aa6a47022c68..c6fb14555b0b93370d58660481a67cbf8553d467 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "base/strings/sys_string_conversions.h"
 #include "browser/native_window.h"
-#include "browser/nsalert_synchronous_sheet.h"
+#include "browser/ui/nsalert_synchronous_sheet_mac.h"
 
 namespace atom {
 
similarity index 95%
rename from browser/nsalert_synchronous_sheet.mm
rename to browser/ui/nsalert_synchronous_sheet_mac.mm
index 47e96557307c2e72304fb03987777f43d169d4af..f2f4d49495614622333431ea8db3cd802dee8b49 100644 (file)
@@ -1,7 +1,8 @@
 // Copyright (c) 2013 GitHub, Inc. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
 
-#import "browser/nsalert_synchronous_sheet.h"
+#import "browser/ui/nsalert_synchronous_sheet_mac.h"
 
 // Private methods -- use prefixes to avoid collisions with Apple's methods
 @interface NSAlert (SynchronousSheetPrivate)