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

Unified Diff: chrome/browser/chromeos/login/registration_screen.cc

Issue 10204002: Revert 133467 - Convert the last users of DOMView to WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | « chrome/browser/chromeos/login/registration_screen.h ('k') | chrome/browser/chromeos/login/web_page_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/registration_screen.cc
===================================================================
--- chrome/browser/chromeos/login/registration_screen.cc (revision 133528)
+++ chrome/browser/chromeos/login/registration_screen.cc (working copy)
@@ -42,11 +42,6 @@
///////////////////////////////////////////////////////////////////////////////
// RegistrationView, protected:
-RegistrationView::RegistrationView(content::BrowserContext* browser_context)
- : dom_view_(new WebPageDomView(browser_context)) {
-}
-
-
WebPageDomView* RegistrationView::dom_view() {
return dom_view_;
}
@@ -76,13 +71,13 @@
StartTimeoutTimer();
GURL url(kRegistrationHostPageUrl);
Profile* profile = ProfileManager::GetDefaultProfile();
- view()->InitWebView(SiteInstance::CreateForURL(profile, url));
+ view()->InitDOM(profile, SiteInstance::CreateForURL(profile, url));
view()->SetWebContentsDelegate(this);
view()->LoadURL(url);
}
RegistrationView* RegistrationScreen::AllocateView() {
- return new RegistrationView(ProfileManager::GetDefaultProfile());
+ return new RegistrationView();
}
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/chromeos/login/registration_screen.h ('k') | chrome/browser/chromeos/login/web_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698