| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebLanguageDetectionDetails_h |
| 6 #define WebLanguageDetectionDetails_h |
| 7 |
| 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebURL.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class WebDocument; |
| 14 |
| 15 struct WebLanguageDetectionDetails { |
| 16 WebURL url; |
| 17 WebString contentLanguage; |
| 18 WebString htmlLanguage; |
| 19 bool hasNoTranslateMeta = false; |
| 20 |
| 21 BLINK_EXPORT static WebLanguageDetectionDetails |
| 22 collectLanguageDetectionDetails(const WebDocument&); |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // WebLanguageDetectionDetails_h |
| OLD | NEW |