Move file_dialog and message_box to browser/ui.

This commit is contained in:
Cheng Zhao 2013-08-13 16:51:47 +08:00
Родитель 149e2a4680
Коммит 97bf979b22
8 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -91,12 +91,6 @@
'browser/crash_reporter.h', 'browser/crash_reporter.h',
'browser/crash_reporter_mac.mm', 'browser/crash_reporter_mac.mm',
'browser/crash_reporter_win.cc', 'browser/crash_reporter_win.cc',
'browser/file_dialog.h',
'browser/file_dialog_mac.mm',
'browser/file_dialog_win.cc',
'browser/message_box.h',
'browser/message_box_mac.mm',
'browser/message_box_win.cc',
'browser/native_window.cc', 'browser/native_window.cc',
'browser/native_window.h', 'browser/native_window.h',
'browser/native_window_mac.h', 'browser/native_window_mac.h',
@ -106,6 +100,12 @@
'browser/native_window_observer.h', 'browser/native_window_observer.h',
'browser/nsalert_synchronous_sheet.h', 'browser/nsalert_synchronous_sheet.h',
'browser/nsalert_synchronous_sheet.mm', '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/window_list.cc', 'browser/window_list.cc',
'browser/window_list.h', 'browser/window_list.h',
'browser/window_list_observer.h', 'browser/window_list_observer.h',

Просмотреть файл

@ -9,9 +9,9 @@
#include "base/utf_string_conversions.h" #include "base/utf_string_conversions.h"
#include "base/values.h" #include "base/values.h"
#include "browser/api/atom_api_window.h" #include "browser/api/atom_api_window.h"
#include "browser/file_dialog.h"
#include "browser/message_box.h"
#include "browser/native_window.h" #include "browser/native_window.h"
#include "browser/ui/file_dialog.h"
#include "browser/ui/message_box.h"
namespace atom { namespace atom {

Просмотреть файл

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_FILE_DIALOG_H_ #ifndef BROWSER_UI_FILE_DIALOG_H_
#define BROWSER_FILE_DIALOG_H_ #define BROWSER_UI_FILE_DIALOG_H_
#include <string> #include <string>
#include <vector> #include <vector>
@ -35,4 +35,4 @@ bool ShowSaveDialog(atom::NativeWindow* window,
} // namespace file_dialog } // namespace file_dialog
#endif // BROWSER_FILE_DIALOG_H_ #endif // BROWSER_UI_FILE_DIALOG_H_

Просмотреть файл

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "browser/file_dialog.h" #include "browser/ui/file_dialog.h"
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
#include <CoreServices/CoreServices.h> #include <CoreServices/CoreServices.h>

Просмотреть файл

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "browser/file_dialog.h" #include "browser/ui/file_dialog.h"
#include <windows.h> #include <windows.h>
#include <commdlg.h> #include <commdlg.h>

Просмотреть файл

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_MESSAGE_BOX_H_ #ifndef BROWSER_UI_MESSAGE_BOX_H_
#define BROWSER_MESSAGE_BOX_H_ #define BROWSER_UI_MESSAGE_BOX_H_
#include <string> #include <string>
#include <vector> #include <vector>
@ -27,4 +27,4 @@ int ShowMessageBox(NativeWindow* parent_window,
} // namespace atom } // namespace atom
#endif // BROWSER_MESSAGE_BOX_H_ #endif // BROWSER_UI_MESSAGE_BOX_H_

Просмотреть файл

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "browser/message_box.h" #include "browser/ui/message_box.h"
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>

Просмотреть файл

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "browser/message_box.h" #include "browser/ui/message_box.h"
#include "base/message_loop.h" #include "base/message_loop.h"
#include "base/run_loop.h" #include "base/run_loop.h"