| Index: chrome/browser/tab_contents/match_preview.h
|
| diff --git a/chrome/browser/tab_contents/match_preview.h b/chrome/browser/tab_contents/match_preview.h
|
| index 0adbe57fd021cd726a26d411f6675993056bc9a4..4b1fd12d5f00bc19093cc5503548e84fe52a71f3 100644
|
| --- a/chrome/browser/tab_contents/match_preview.h
|
| +++ b/chrome/browser/tab_contents/match_preview.h
|
| @@ -84,6 +84,11 @@ class MatchPreview {
|
| // may return false yet preview_contents() returns non-NULL.
|
| bool is_active() const { return is_active_; }
|
|
|
| + // Returns the transition type of the last AutocompleteMatch passed to Update.
|
| + PageTransition::Type last_transition_type() const {
|
| + return last_transition_type_;
|
| + }
|
| +
|
| const GURL& url() const { return url_; }
|
|
|
| private:
|
| @@ -149,6 +154,9 @@ class MatchPreview {
|
|
|
| scoped_ptr<FrameLoadObserver> frame_load_observer_;
|
|
|
| + // See description above getter.
|
| + PageTransition::Type last_transition_type_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MatchPreview);
|
| };
|
|
|
|
|