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

Unified Diff: chrome/browser/printing/print_dialog_cloud_internal.h

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/printing/print_dialog_cloud_internal.h
===================================================================
--- chrome/browser/printing/print_dialog_cloud_internal.h (revision 134857)
+++ chrome/browser/printing/print_dialog_cloud_internal.h (working copy)
@@ -13,7 +13,7 @@
#include "base/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
-#include "chrome/browser/ui/webui/web_dialog_ui.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_ui_message_handler.h"
@@ -156,7 +156,7 @@
// State machine used to run the printing dialog. This class is used
// to open and run the web dialog and deletes itself when the dialog
// is closed.
-class CloudPrintWebDialogDelegate : public WebDialogDelegate {
+class CloudPrintWebDialogDelegate : public views::WebDialogDelegate {
public:
CloudPrintWebDialogDelegate(const FilePath& path_to_file,
int width, int height,
@@ -203,7 +203,7 @@
FilePath path_to_file_;
// The parameters needed to display a modal web dialog.
- WebDialogUI::WebDialogParams params_;
+ views::WebDialogUI::WebDialogParams params_;
DISALLOW_COPY_AND_ASSIGN(CloudPrintWebDialogDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698