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

Unified Diff: components/web_modal/test_web_contents_modal_dialog_manager_views.cc

Issue 2087643003: Move web modal dialog manager files into the constrained_window component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase? Created 4 years, 6 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: components/web_modal/test_web_contents_modal_dialog_manager_views.cc
diff --git a/chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc b/components/web_modal/test_web_contents_modal_dialog_manager_views.cc
similarity index 63%
rename from chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc
rename to components/web_modal/test_web_contents_modal_dialog_manager_views.cc
index 94ab725c0da13402fa1c06240990bf47710b3704..55f466e07c2f0b7b1994a017d648d0ff0a2a497b 100644
--- a/chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc
+++ b/components/web_modal/test_web_contents_modal_dialog_manager_views.cc
@@ -1,11 +1,11 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/web_modal/web_contents_modal_dialog_manager.h"
-#include "chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h"
#include "components/web_modal/single_web_contents_dialog_manager.h"
+#include "components/web_modal/test_web_contents_modal_dialog_manager_delegate.h"
namespace web_modal {
@@ -13,7 +13,6 @@ SingleWebContentsDialogManager*
WebContentsModalDialogManager::CreateNativeWebModalManager(
gfx::NativeWindow dialog,
SingleWebContentsDialogManagerDelegate* native_delegate) {
- return new NativeWebContentsModalDialogManagerViews(dialog, native_delegate);
+ return nullptr;
+}
}
-
-} // namespace web_modal

Powered by Google App Engine
This is Rietveld 408576698