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

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

Issue 1456843002: Finch experiment: auto-detect text encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); 132 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors);
133 133
134 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; 134 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
135 135
136 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr ing& name, v8::Local<v8::Value> options, WebExceptionCode&); 136 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr ing& name, v8::Local<v8::Value> options, WebExceptionCode&);
137 137
138 BLINK_EXPORT WebURL manifestURL() const; 138 BLINK_EXPORT WebURL manifestURL() const;
139 BLINK_EXPORT bool manifestUseCredentials() const; 139 BLINK_EXPORT bool manifestUseCredentials() const;
140 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); 140 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures();
141 141
142 BLINK_EXPORT bool attemptedToDetermineEncodingFromContentSniffing() const;
143 BLINK_EXPORT bool encodingWasDetectedFromContentSniffing() const;
144
142 #if BLINK_IMPLEMENTATION 145 #if BLINK_IMPLEMENTATION
143 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); 146 WebDocument(const PassRefPtrWillBeRawPtr<Document>&);
144 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); 147 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&);
145 operator PassRefPtrWillBeRawPtr<Document>() const; 148 operator PassRefPtrWillBeRawPtr<Document>() const;
146 #endif 149 #endif
147 }; 150 };
148 151
149 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); 152 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument);
150 153
151 } // namespace blink 154 } // namespace blink
152 155
153 #endif 156 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698