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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 997
998 void setHasViewportUnits() { m_hasViewportUnits = true; } 998 void setHasViewportUnits() { m_hasViewportUnits = true; }
999 bool hasViewportUnits() const { return m_hasViewportUnits; } 999 bool hasViewportUnits() const { return m_hasViewportUnits; }
1000 void notifyResizeForViewportUnits(); 1000 void notifyResizeForViewportUnits();
1001 1001
1002 void registerVisibilityObserver(DocumentVisibilityObserver*); 1002 void registerVisibilityObserver(DocumentVisibilityObserver*);
1003 void unregisterVisibilityObserver(DocumentVisibilityObserver*); 1003 void unregisterVisibilityObserver(DocumentVisibilityObserver*);
1004 1004
1005 void updateStyleInvalidationIfNeeded(); 1005 void updateStyleInvalidationIfNeeded();
1006 1006
1007 bool attemptedToDetermineEncodingFromContentSniffing() const;
1008 bool encodingWasDetectedFromContentSniffing() const;
1009
1007 DECLARE_VIRTUAL_TRACE(); 1010 DECLARE_VIRTUAL_TRACE();
1008 1011
1009 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); } 1012 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); }
1010 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } 1013 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
1011 1014
1012 AtomicString convertLocalName(const AtomicString&); 1015 AtomicString convertLocalName(const AtomicString&);
1013 1016
1014 void platformColorsChanged(); 1017 void platformColorsChanged();
1015 1018
1016 DOMTimerCoordinator* timers() final; 1019 DOMTimerCoordinator* timers() final;
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1434 1437
1435 } // namespace blink 1438 } // namespace blink
1436 1439
1437 #ifndef NDEBUG 1440 #ifndef NDEBUG
1438 // Outside the WebCore namespace for ease of invocation from gdb. 1441 // Outside the WebCore namespace for ease of invocation from gdb.
1439 CORE_EXPORT void showLiveDocumentInstances(); 1442 CORE_EXPORT void showLiveDocumentInstances();
1440 #endif 1443 #endif
1441 1444
1442 #endif // Document_h 1445 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698