Chromium Code Reviews| Index: chrome/browser/search_engines/template_url.h |
| diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h |
| index 4241f529d46fc025ec40df4b17eca3fd4d4a5bc7..e41f35471527a6c2b0072b95806a8aed0c627efa 100644 |
| --- a/chrome/browser/search_engines/template_url.h |
| +++ b/chrome/browser/search_engines/template_url.h |
| @@ -269,6 +269,11 @@ struct TemplateURLData { |
| std::string suggestions_url; |
| std::string instant_url; |
| + // URLs pointing to regular and high-DPI versions of logos for this search |
|
msw
2012/08/21 00:37:17
nit: "Optional logo image URLs at 100% and 200% sc
samarth
2012/08/22 03:02:07
Done.
|
| + // provider. Both may be empty. |
| + GURL logo_100_percent_url; |
| + GURL logo_200_percent_url; |
| + |
| // Optional favicon for the TemplateURL. |
| GURL favicon_url; |
| @@ -369,6 +374,12 @@ class TemplateURL { |
| const std::string& url() const { return data_.url(); } |
| const std::string& suggestions_url() const { return data_.suggestions_url; } |
| const std::string& instant_url() const { return data_.instant_url; } |
| + const GURL& logo_100_percent_url() const { |
| + return data_.logo_100_percent_url; |
| + } |
| + const GURL& logo_200_percent_url() const { |
| + return data_.logo_200_percent_url; |
| + } |
| const GURL& favicon_url() const { return data_.favicon_url; } |
| const GURL& originating_url() const { return data_.originating_url; } |