summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index ab4cf56..ac73e96 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -68,6 +68,7 @@ class DownloadItem;
class Extension;
class InfoBarDelegate;
class LoadNotificationDetails;
+class MatchPreview;
class OmniboxSearchHint;
class PasswordManager;
class PluginInstaller;
@@ -160,6 +161,9 @@ class TabContents : public PageNavigator,
// Returns the TabContentsSSLHelper, creating if it necessary.
TabContentsSSLHelper* GetSSLHelper();
+ // Returns the MatchPreview. Returns NULL if MatchPreview is not enabled.
+ MatchPreview* match_preview() { return match_preview_.get(); }
+
// Returns the SavePackage which manages the page saving job. May be NULL.
SavePackage* save_package() const { return save_package_.get(); }
@@ -1261,6 +1265,8 @@ class TabContents : public PageNavigator,
// See description in RenderViewHostDelegate::SetDisplayingPDFContent.
bool displaying_pdf_content_;
+ scoped_ptr<MatchPreview> match_preview_;
+
// ---------------------------------------------------------------------------
DISALLOW_COPY_AND_ASSIGN(TabContents);