| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_DOODLE_DOODLE_TYPES_H_ | 5 #ifndef COMPONENTS_DOODLE_DOODLE_TYPES_H_ |
| 6 #define COMPONENTS_DOODLE_DOODLE_TYPES_H_ | 6 #define COMPONENTS_DOODLE_DOODLE_TYPES_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 std::unique_ptr<base::DictionaryValue> ToDictionary() const; | 71 std::unique_ptr<base::DictionaryValue> ToDictionary() const; |
| 72 | 72 |
| 73 bool operator==(const DoodleConfig& other) const; | 73 bool operator==(const DoodleConfig& other) const; |
| 74 bool operator!=(const DoodleConfig& other) const; | 74 bool operator!=(const DoodleConfig& other) const; |
| 75 | 75 |
| 76 DoodleType doodle_type; | 76 DoodleType doodle_type; |
| 77 std::string alt_text; | 77 std::string alt_text; |
| 78 std::string interactive_html; | 78 std::string interactive_html; |
| 79 | 79 |
| 80 GURL search_url; | |
| 81 GURL target_url; | 80 GURL target_url; |
| 82 GURL fullpage_interactive_url; | |
| 83 | 81 |
| 84 DoodleImage large_image; | 82 DoodleImage large_image; |
| 85 base::Optional<DoodleImage> large_cta_image; | 83 base::Optional<DoodleImage> large_cta_image; |
| 86 base::Optional<DoodleImage> transparent_large_image; | 84 base::Optional<DoodleImage> transparent_large_image; |
| 87 | 85 |
| 88 // Copying and assignment allowed. | 86 // Copying and assignment allowed. |
| 89 }; | 87 }; |
| 90 | 88 |
| 91 } // namespace doodle | 89 } // namespace doodle |
| 92 | 90 |
| 93 #endif // COMPONENTS_DOODLE_DOODLE_TYPES_H_ | 91 #endif // COMPONENTS_DOODLE_DOODLE_TYPES_H_ |
| OLD | NEW |