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

Unified Diff: chrome/browser/chromeos/login/web_page_view.h

Issue 10171006: Convert more users away from DOMView. (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
Index: chrome/browser/chromeos/login/web_page_view.h
===================================================================
--- chrome/browser/chromeos/login/web_page_view.h (revision 133597)
+++ chrome/browser/chromeos/login/web_page_view.h (working copy)
@@ -10,12 +10,13 @@
#include "base/compiler_specific.h"
#include "base/timer.h"
-#include "chrome/browser/ui/views/dom_view.h"
+#include "ui/views/controls/webview/webview.h"
#include "ui/views/view.h"
class Profile;
namespace content {
+class BrowserContext;
class SiteInstance;
class WebContentsDelegate;
}
@@ -28,9 +29,9 @@
namespace chromeos {
// WebPageDomView is the view that is rendering the page.
-class WebPageDomView : public DOMView {
+class WebPageDomView : public views::WebView {
public:
- WebPageDomView() {}
+ explicit WebPageDomView(content::BrowserContext* browser_context);
// Set delegate that will be notified about tab contents changes.
void SetWebContentsDelegate(content::WebContentsDelegate* delegate);
@@ -49,9 +50,9 @@
// Initialize view layout.
void Init();
- // Initialize the DOM view, creating the contents. This should be
+ // Initialize the WebView, creating the contents. This should be
// called once the view has been added to a container.
- void InitDOM(Profile* profile, content::SiteInstance* site_instance);
+ void InitWebView(content::SiteInstance* site_instance);
// Loads the given URL into the page.
// You must have previously called Init() and SetWebContentsDelegate.
« no previous file with comments | « chrome/browser/chromeos/login/registration_screen.cc ('k') | chrome/browser/chromeos/login/web_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698