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

Unified Diff: chrome/browser/tab_contents/tab_contents_delegate.h

Issue 3105004: Adds support for showing the match preview on views. It's behind the (Closed)
Patch Set: Addressed review comments Created 10 years, 4 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/tab_contents/tab_contents.cc ('k') | chrome/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_delegate.h
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index bcefecf55bc3a51a9e69b4e54a0a47e1a8cce388..d55aa1154669ca62181dcf908cd58dfd6efcbb62 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -272,6 +272,11 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
// PDF using the internal PDF plugin.
virtual void ContentTypeChanged(TabContents* source);
+ // Sent when the user does a gesture that results in committing the match
+ // preview. The delegate should replace |source| with the |source|'s match
+ // preview TabContents.
+ virtual void CommitMatchPreview(TabContents* source);
+
protected:
virtual ~TabContentsDelegate();
};
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698