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

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: addressed comments Created 5 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
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); 130 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors);
131 131
132 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; 132 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
133 133
134 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr ing& name, v8::Local<v8::Value> options, WebExceptionCode&); 134 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(const WebStr ing& name, v8::Local<v8::Value> options, WebExceptionCode&);
135 135
136 BLINK_EXPORT WebURL manifestURL() const; 136 BLINK_EXPORT WebURL manifestURL() const;
137 BLINK_EXPORT bool manifestUseCredentials() const; 137 BLINK_EXPORT bool manifestUseCredentials() const;
138 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); 138 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures();
139 139
140 BLINK_EXPORT bool attemptedToDetermineEncodingFromContentSniffing() const;
141 BLINK_EXPORT bool encodingWasDetectedFromContentSniffing() const;
142
140 #if BLINK_IMPLEMENTATION 143 #if BLINK_IMPLEMENTATION
141 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); 144 WebDocument(const PassRefPtrWillBeRawPtr<Document>&);
142 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); 145 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&);
143 operator PassRefPtrWillBeRawPtr<Document>() const; 146 operator PassRefPtrWillBeRawPtr<Document>() const;
144 #endif 147 #endif
145 }; 148 };
146 149
147 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); 150 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument);
148 151
149 } // namespace blink 152 } // namespace blink
150 153
151 #endif 154 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698