| Index: ui/web_dialogs/web_dialog_ui.cc
|
| diff --git a/chrome/browser/ui/webui/web_dialog_ui.cc b/ui/web_dialogs/web_dialog_ui.cc
|
| similarity index 95%
|
| rename from chrome/browser/ui/webui/web_dialog_ui.cc
|
| rename to ui/web_dialogs/web_dialog_ui.cc
|
| index c5e3dc77ac63237d04ff347414866062ca85f4d9..3f852ced718c4aeadb83316d226b1fe789813eca 100644
|
| --- a/chrome/browser/ui/webui/web_dialog_ui.cc
|
| +++ b/ui/web_dialogs/web_dialog_ui.cc
|
| @@ -2,27 +2,29 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/webui/web_dialog_ui.h"
|
| +#include "ui/web_dialogs/web_dialog_ui.h"
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/property_bag.h"
|
| #include "base/values.h"
|
| -#include "chrome/browser/ui/webui/web_dialog_delegate.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_ui.h"
|
| #include "content/public/browser/web_ui_message_handler.h"
|
| #include "content/public/common/bindings_policy.h"
|
| +#include "ui/web_dialogs/web_dialog_delegate.h"
|
|
|
| using content::RenderViewHost;
|
| using content::WebUIMessageHandler;
|
|
|
| -static base::LazyInstance<base::PropertyAccessor<WebDialogDelegate*> >
|
| +static base::LazyInstance<base::PropertyAccessor<ui::WebDialogDelegate*> >
|
| g_web_dialog_ui_property_accessor = LAZY_INSTANCE_INITIALIZER;
|
|
|
| +namespace ui {
|
| +
|
| WebDialogUI::WebDialogUI(content::WebUI* web_ui)
|
| : WebUIController(web_ui) {
|
| }
|
| @@ -129,3 +131,5 @@ bool WebDialogDelegate::HandleAddNewContents(
|
| bool user_gesture) {
|
| return false;
|
| }
|
| +
|
| +} // namespace ui
|
|
|