Index: components/omnibox/browser/suggestion_answer.h |
diff --git a/components/omnibox/browser/suggestion_answer.h b/components/omnibox/browser/suggestion_answer.h |
index 8b9c04284b7153a6cbe8862855a92992444dd3a9..7249bd6d4dcfc8c9df216fe60aff363c00337f66 100644 |
--- a/components/omnibox/browser/suggestion_answer.h |
+++ b/components/omnibox/browser/suggestion_answer.h |
@@ -108,6 +108,7 @@ class SuggestionAnswer { |
const TextField* additional_text() const { return additional_text_.get(); } |
const TextField* status_text() const { return status_text_.get(); } |
const GURL& image_url() const { return image_url_; } |
+ int num_text_lines() const { return num_text_lines_; } |
Peter Kasting
2016/06/29 23:08:57
Nit: Make accessor order and member declaration or
Kevin Bailey
2016/06/30 13:19:29
Made this one match rest of CL.
|
bool Equals(const ImageLine& line) const; |
@@ -120,6 +121,7 @@ class SuggestionAnswer { |
ImageLine& operator=(const ImageLine&); |
TextFields text_fields_; |
+ int num_text_lines_; |
std::unique_ptr<TextField> additional_text_; |
std::unique_ptr<TextField> status_text_; |
GURL image_url_; |
@@ -128,7 +130,7 @@ class SuggestionAnswer { |
}; |
SuggestionAnswer(); |
- SuggestionAnswer(const SuggestionAnswer& answer); |
+ SuggestionAnswer(const SuggestionAnswer& answer) = default; |
~SuggestionAnswer(); |
// Parses |answer_json| and returns a SuggestionAnswer containing the |