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

Unified Diff: chrome/browser/ui/extensions/native_app_window.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/extensions/native_app_window.h
diff --git a/chrome/browser/ui/extensions/native_app_window.h b/chrome/browser/ui/extensions/native_app_window.h
index 447a9e026ce96b98f9a83fac3c9df93bf20a33ee..64d49c36fde52b668d2acae1e3dfec5fd754b6b4 100644
--- a/chrome/browser/ui/extensions/native_app_window.h
+++ b/chrome/browser/ui/extensions/native_app_window.h
@@ -7,13 +7,14 @@
#include "chrome/browser/ui/base_window.h"
#include "chrome/browser/ui/extensions/shell_window.h"
-#include "chrome/browser/ui/web_contents_modal_dialog_host.h"
+#include "components/web_modal/web_contents_modal_dialog_host.h"
#include "ui/gfx/insets.h"
// This is an interface to a native implementation of a shell window, used for
// new-style packaged apps. Shell windows contain a web contents, but no tabs
// or URL bar.
-class NativeAppWindow : public BaseWindow, public WebContentsModalDialogHost {
+class NativeAppWindow : public BaseWindow,
+ public web_modal::WebContentsModalDialogHost {
public:
// Used by ShellWindow to instantiate the platform-specific ShellWindow code.
static NativeAppWindow* Create(ShellWindow* window,
« no previous file with comments | « chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_cocoa.mm ('k') | chrome/browser/ui/extensions/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698