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

Unified Diff: chrome/browser/ui/browser_instant_controller.h

Issue 11421079: Persist the Instant API to committed search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years 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/ui/browser_instant_controller.h
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index ef23d3a3e6675241c1b40cdd55879e6654891223..44d21e767375036a0dc9ae1baf58a6d7a8a4973e 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -19,9 +19,12 @@ class Browser;
struct InstantSuggestion;
class PrefService;
class Profile;
-class TabContents;
class ThemeService;
+namespace content {
+class WebContents;
+}
+
namespace gfx {
class Rect;
}
@@ -50,7 +53,7 @@ class BrowserInstantController : public content::NotificationObserver,
// Invoked by |instant_| to commit the |preview| by merging it into the active
// tab or adding it as a new tab. We take ownership of |preview|.
- void CommitInstant(TabContents* preview, bool in_new_tab);
+ void CommitInstant(content::WebContents* preview, bool in_new_tab);
// Invoked by |instant_| to autocomplete the |suggestion| into the omnibox.
void SetInstantSuggestion(const InstantSuggestion& suggestion);
@@ -65,7 +68,7 @@ class BrowserInstantController : public content::NotificationObserver,
// Invoked by |instant_| to get the currently active tab, over which the
// preview would be shown.
- TabContents* GetActiveTabContents() const;
+ content::WebContents* GetActiveWebContents() const;
// Invoked by |browser_| when the active tab changes.
void ActiveTabChanged();

Powered by Google App Engine
This is Rietveld 408576698