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. |