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

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 10539064: TabContentsWrapper -> TabContents, part 18. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/instant/instant_browsertest.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index fc8e80f2b2d5106fdc854f61287885367bfa2710..3b720f9bea8cdf1e6e2cda0324c403aa94f10eb0 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -30,7 +30,6 @@ class InstantTest;
class PrefService;
class Profile;
class TabContents;
-typedef TabContents TabContentsWrapper;
class TemplateURL;
// InstantController maintains a WebContents that is intended to give a preview
@@ -124,7 +123,7 @@ class InstantController : public InstantLoaderDelegate {
// Invoked when the user does some gesture that should trigger making the
// current previewed page the permanent page. Returns the TCW that contains
// the committed preview.
- TabContentsWrapper* CommitCurrentPreview(InstantCommitType type);
+ TabContents* CommitCurrentPreview(InstantCommitType type);
// Accepts the currently showing instant preview, if any, and returns true.
// Returns false if there is no instant preview showing.
@@ -155,17 +154,17 @@ class InstantController : public InstantLoaderDelegate {
// irrelevant, for example when |type| is INSTANT_COMMIT_DESTROY.
// WARNING: be sure and invoke CompleteRelease after adding the returned
// WebContents to a tabstrip.
- TabContentsWrapper* ReleasePreviewContents(InstantCommitType type,
- TabContentsWrapper* tab_contents);
+ TabContents* ReleasePreviewContents(InstantCommitType type,
+ TabContents* tab_contents);
// Does cleanup after the preview contents has been added to the tabstrip.
// Invoke this if you explicitly invoke ReleasePreviewContents.
- void CompleteRelease(TabContentsWrapper* tab);
+ void CompleteRelease(TabContents* tab);
- // The preview TabContentsWrapper; may be null.
- TabContentsWrapper* GetPreviewContents() const;
+ // The preview TabContents; may be null.
+ TabContents* GetPreviewContents() const;
- // Returns true if the preview TabContentsWrapper is ready to be displayed. In
+ // Returns true if the preview TabContents is ready to be displayed. In
// some situations this may return false yet GetPreviewContents() returns
// non-NULL.
bool is_displayable() const { return is_displayable_; }
@@ -200,7 +199,7 @@ class InstantController : public InstantLoaderDelegate {
// Updates InstantLoaderManager and its current InstantLoader. This is invoked
// internally from Update.
- void UpdateLoader(TabContentsWrapper* tab_contents,
+ void UpdateLoader(TabContents* tab_contents,
const TemplateURL* template_url,
const GURL& url,
content::PageTransition transition_type,
« no previous file with comments | « chrome/browser/instant/instant_browsertest.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698