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

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

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land Created 7 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/ui/webui/constrained_web_dialog_ui.h
diff --git a/chrome/browser/ui/webui/constrained_web_dialog_ui.h b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
index f75124d088e7f06c3627f71cacc52e58b5cecfe2..2b39632e419152294621466415680b613d90a435 100644
--- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h
+++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_UI_WEBUI_CONSTRAINED_WEB_DIALOG_UI_H_
#include "base/compiler_specific.h"
-#include "chrome/browser/ui/native_web_contents_modal_dialog.h"
+#include "components/web_modal/native_web_contents_modal_dialog.h"
#include "content/public/browser/web_ui_controller.h"
#include "ui/gfx/native_widget_types.h"
@@ -39,7 +39,7 @@ class ConstrainedWebDialogDelegate {
virtual content::WebContents* GetWebContents() = 0;
// Returns the native type used to display the dialog.
- virtual NativeWebContentsModalDialog GetNativeDialog() = 0;
+ virtual web_modal::NativeWebContentsModalDialog GetNativeDialog() = 0;
protected:
virtual ~ConstrainedWebDialogDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698