Move file_dialog and message_box to browser/ui.

This commit is contained in:
Cheng Zhao 2013-08-13 16:51:47 +08:00
parent 149e2a4680
commit 97bf979b22
8 changed files with 18 additions and 18 deletions

View file

@ -9,9 +9,9 @@
#include "base/utf_string_conversions.h"
#include "base/values.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/ui/file_dialog.h"
#include "browser/ui/message_box.h"
namespace atom {

View file

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

View 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.
#include "browser/file_dialog.h"
#include "browser/ui/file_dialog.h"
#import <Cocoa/Cocoa.h>
#include <CoreServices/CoreServices.h>

View 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.
#include "browser/file_dialog.h"
#include "browser/ui/file_dialog.h"
#include <windows.h>
#include <commdlg.h>

View file

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

View 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.
#include "browser/message_box.h"
#include "browser/ui/message_box.h"
#import <Cocoa/Cocoa.h>

View 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.
#include "browser/message_box.h"
#include "browser/ui/message_box.h"
#include "base/message_loop.h"
#include "base/run_loop.h"