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

Unified Diff: ui/web_dialogs/web_dialog_web_contents_delegate.cc

Issue 10796049: Move WebDialogWebContentsDelegate to ui/web_dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « ui/web_dialogs/web_dialog_web_contents_delegate.h ('k') | ui/web_dialogs/web_dialogs.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/web_dialogs/web_dialog_web_contents_delegate.cc
diff --git a/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc b/ui/web_dialogs/web_dialog_web_contents_delegate.cc
similarity index 95%
rename from chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
rename to ui/web_dialogs/web_dialog_web_contents_delegate.cc
index 1742e2282089dcb34fc6383931bde99574d4b09d..19d97a58b8156f539ec0489143e775c5bd0fde2a 100644
--- a/chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc
+++ b/ui/web_dialogs/web_dialog_web_contents_delegate.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h"
+#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
#include "base/logging.h"
#include "content/public/browser/web_contents.h"
@@ -11,6 +11,8 @@ using content::BrowserContext;
using content::OpenURLParams;
using content::WebContents;
+namespace ui {
+
// Incognito profiles are not long-lived, so we always want to store a
// non-incognito profile.
//
@@ -57,3 +59,5 @@ bool WebDialogWebContentsDelegate::ShouldAddNavigationToHistory(
content::NavigationType navigation_type) {
return false;
}
+
+} // namespace ui
« no previous file with comments | « ui/web_dialogs/web_dialog_web_contents_delegate.h ('k') | ui/web_dialogs/web_dialogs.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698