* Returns the custom logo for the element if there is one. * @private * @return {{ * content: (!Element|undefined), * color: (string|undefined), * }}
()
| 239 | * }} |
| 240 | */ |
| 241 | getCustomLogo_() { |
| 242 | if (this.isAd_()) { |
| 243 | return { |
| 244 | content: this.getAdsLogo_(), |
| 245 | }; |
| 246 | } |
| 247 | |
| 248 | if (isIframeVideoPlayerComponent(this.element_.tagName)) { |
| 249 | return { |
| 250 | content: this.getVideoPlayerLogo_(), |
| 251 | }; |
| 252 | } |
| 253 | |
| 254 | return this.element_.createLoaderLogo(); |
| 255 | } |
| 256 | |
| 257 | /** |
| 258 | * @return {!Element} The logo for video players |
no test coverage detected