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

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

Issue 2577203002: Remove use of WebNode/WebElement in translate_helper (Closed)
Patch Set: Move translate specific DOM operations into separate file Created 4 years 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 #include "public/web/WebDocument.h"
jbroman 2016/12/20 16:43:51 nit: Technically you just need a forward declarati
adithyas 2017/01/09 15:40:02 Done.
11
12 namespace blink {
13
14 struct WebLanguageDetectionDetails {
15 WebURL url;
16 WebString contentLanguage;
17 WebString htmlLanguage;
18 bool hasNoTranslateMeta;
jbroman 2016/12/20 16:43:51 nit: Rather than writing an explicit constructor,
adithyas 2017/01/09 15:40:02 Removed the constructor.
19
20 WebLanguageDetectionDetails() : hasNoTranslateMeta(false) {}
21
22 BLINK_EXPORT static WebLanguageDetectionDetails
23 collectLanguageDetectionDetails(const WebDocument&);
24 };
25
26 } // namespace blink
27
28 #endif // WebLanguageDetectionDetails_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698