Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: ui/web_dialogs/web_dialog_ui.cc

Issue 10448066: Move the web dialogs code to src/ui/web_dialogs from src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698