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

Unified Diff: chrome/browser/ui/views/dom_view.h

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/ui/cocoa/tabs/tab_strip_controller_unittest.mm ('k') | chrome/browser/ui/views/dom_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/dom_view.h
===================================================================
--- chrome/browser/ui/views/dom_view.h (revision 118952)
+++ chrome/browser/ui/views/dom_view.h (working copy)
@@ -16,7 +16,10 @@
#include "ui/views/events/event.h"
class Profile;
+
+namespace content {
class SiteInstance;
+};
class DOMView : public views::NativeViewHost {
public:
@@ -34,7 +37,7 @@
//
// If |instance| is not null, then the view will be loaded in the same
// process as the given instance.
- bool Init(Profile* profile, SiteInstance* instance);
+ bool Init(Profile* profile, content::SiteInstance* instance);
// Loads the given URL into the page. You must have previously called Init().
void LoadURL(const GURL& url);
@@ -57,7 +60,7 @@
// Returns new allocated TabContents instance, caller is responsible deleting.
// Override in derived classes to replace TabContents with derivative.
virtual content::WebContents* CreateTabContents(
- Profile* profile, SiteInstance* instance);
+ Profile* profile, content::SiteInstance* instance);
scoped_ptr<TabContentsWrapper> dom_contents_;
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm ('k') | chrome/browser/ui/views/dom_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698