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

Unified Diff: chrome/browser/instant/instant_delegate.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_controller.cc ('k') | chrome/browser/instant/instant_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_delegate.h
diff --git a/chrome/browser/instant/instant_delegate.h b/chrome/browser/instant/instant_delegate.h
index 23a41fb0fc2d89605004fecb36483c200d273375..726e871794f8b6bd994bbb84ce63e74dd28b5d72 100644
--- a/chrome/browser/instant/instant_delegate.h
+++ b/chrome/browser/instant/instant_delegate.h
@@ -10,7 +10,6 @@
#include "chrome/common/instant_types.h"
class TabContents;
-typedef TabContents TabContentsWrapper;
namespace gfx {
class Rect;
@@ -20,16 +19,16 @@ class Rect;
// InstantController for details.
class InstantDelegate {
public:
- // Invoked when the instant TabContentsWrapper should be shown.
- virtual void ShowInstant(TabContentsWrapper* preview_contents) = 0;
+ // Invoked when the instant TabContents should be shown.
+ virtual void ShowInstant(TabContents* preview_contents) = 0;
- // Invoked when the instant TabContentsWrapper should be hidden.
+ // Invoked when the instant TabContents should be hidden.
virtual void HideInstant() = 0;
// Invoked when the user does something that should result in the preview
- // TabContentsWrapper becoming the active TabContentsWrapper. The delegate
- // takes ownership of the supplied TabContentsWrapper.
- virtual void CommitInstant(TabContentsWrapper* preview_contents) = 0;
+ // TabContents becoming the active TabContents. The delegate
+ // takes ownership of the supplied TabContents.
+ virtual void CommitInstant(TabContents* preview_contents) = 0;
// Invoked when the suggested text is to change to |text|.
virtual void SetSuggestedText(const string16& text,
@@ -42,7 +41,7 @@ class InstantDelegate {
virtual void InstantPreviewFocused() = 0;
// Returns the tab contents over which the instant preview is overlaid.
- virtual TabContentsWrapper* GetInstantHostTabContents() const = 0;
+ virtual TabContents* GetInstantHostTabContents() const = 0;
protected:
virtual ~InstantDelegate() {}
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/instant/instant_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698