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

Unified Diff: chrome/browser/ui/webui/constrained_web_dialog_ui.cc

Issue 10353007: Extract a minimal subset of WebDialogUI/WebDialogDelegate from src/chrome -> src/ui/web_dialogs Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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: chrome/browser/ui/webui/constrained_web_dialog_ui.cc
===================================================================
--- chrome/browser/ui/webui/constrained_web_dialog_ui.cc (revision 135175)
+++ chrome/browser/ui/webui/constrained_web_dialog_ui.cc (working copy)
@@ -12,8 +12,8 @@
#include "base/lazy_instance.h"
#include "base/property_bag.h"
#include "base/values.h"
-#include "chrome/browser/ui/webui/web_dialog_delegate.h"
-#include "chrome/browser/ui/webui/web_dialog_ui.h"
+#include "ui/web_dialogs/web_dialog_delegate.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_view_host.h"
@@ -40,7 +40,8 @@
if (!delegate)
return;
- WebDialogDelegate* dialog_delegate = delegate->GetWebDialogDelegate();
+ web_dialogs::WebDialogDelegate* dialog_delegate =
+ delegate->GetWebDialogDelegate();
std::vector<WebUIMessageHandler*> handlers;
dialog_delegate->GetWebUIMessageHandlers(&handlers);
render_view_host->SetWebUIProperty("dialogArguments",

Powered by Google App Engine
This is Rietveld 408576698