Index: chrome/browser/instant/instant_loader.h |
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h |
index 185d2ff53e9317c3b7838c66ac3adf826f2e5c61..56a7631c295a7121e3479197277c7d55c1ab2df3 100644 |
--- a/chrome/browser/instant/instant_loader.h |
+++ b/chrome/browser/instant/instant_loader.h |
@@ -28,6 +28,7 @@ struct Mode; |
} |
namespace content { |
+class NavigationEntry; |
class WebContents; |
} |
@@ -90,6 +91,10 @@ class InstantLoader : public InstantClient::Delegate, |
// InstantController::kLocalOmniboxPopupURL as the |instant_url_|. |
bool IsUsingLocalPreview() const; |
+ const content::NavigationEntry* base_navigation_entry() const { |
+ return base_navigation_entry_.get(); |
+ } |
+ |
// Calls through to methods of the same name on InstantClient. |
void Update(const string16& text, |
size_t selection_start, |
@@ -142,6 +147,7 @@ class InstantLoader : public InstantClient::Delegate, |
// on the preview and it needs to be activated. |
scoped_ptr<WebContentsDelegateImpl> delegate_; |
scoped_ptr<content::WebContents> contents_; |
+ scoped_ptr<const content::NavigationEntry> base_navigation_entry_; |
const std::string instant_url_; |
bool supports_instant_; |