Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: third_party/WebKit/public/web/WebLanguageDetectionDetails.h

Issue 2577203002: Remove use of WebNode/WebElement in translate_helper (Closed)
Patch Set: Rebase again Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698