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

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

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: chrome/browser/printing/print_dialog_cloud_internal.h
diff --git a/chrome/browser/printing/print_dialog_cloud_internal.h b/chrome/browser/printing/print_dialog_cloud_internal.h
index 72edce60e2a443df8caf0e4bb7543ee3590871fd..b6a458c72c0e75090c669a1e811d825aa01ec2cf 100644
--- a/chrome/browser/printing/print_dialog_cloud_internal.h
+++ b/chrome/browser/printing/print_dialog_cloud_internal.h
@@ -13,11 +13,11 @@
#include "base/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
-#include "chrome/browser/ui/webui/web_dialog_delegate.h"
-#include "chrome/browser/ui/webui/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"
+#include "ui/web_dialogs/web_dialog_delegate.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
class GURL;
class CloudPrintWebDialogDelegateTest;
@@ -157,7 +157,7 @@ class CloudPrintFlowHandler : public content::WebUIMessageHandler,
// 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 ui::WebDialogDelegate {
public:
CloudPrintWebDialogDelegate(content::BrowserContext* browser_context,
gfx::NativeWindow modal_parent,
@@ -171,7 +171,7 @@ class CloudPrintWebDialogDelegate : public WebDialogDelegate {
const base::Closure& callback);
virtual ~CloudPrintWebDialogDelegate();
- // WebDialogDelegate implementation:
+ // ui::WebDialogDelegate implementation:
virtual ui::ModalType GetDialogModalType() const OVERRIDE;
virtual string16 GetDialogTitle() const OVERRIDE;
virtual GURL GetDialogContentURL() const OVERRIDE;
@@ -205,7 +205,7 @@ class CloudPrintWebDialogDelegate : public WebDialogDelegate {
bool keep_alive_when_non_modal_;
// The parameters needed to display a modal web dialog.
- WebDialogUI::WebDialogParams params_;
+ ui::WebDialogUI::WebDialogParams params_;
DISALLOW_COPY_AND_ASSIGN(CloudPrintWebDialogDelegate);
};
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/printing/print_dialog_cloud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698