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

Side by Side Diff: Source/core/dom/Document.h

Issue 27030014: Remove Backslash-as-JPY hack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TextCodec/Encoding added Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 void finishedParsing(); 877 void finishedParsing();
878 878
879 void documentWillBecomeInactive(); 879 void documentWillBecomeInactive();
880 880
881 void setDecoder(PassRefPtr<TextResourceDecoder>); 881 void setDecoder(PassRefPtr<TextResourceDecoder>);
882 TextResourceDecoder* decoder() const { return m_decoder.get(); } 882 TextResourceDecoder* decoder() const { return m_decoder.get(); }
883 883
884 void setEncoding(const WTF::TextEncoding&); 884 void setEncoding(const WTF::TextEncoding&);
885 const WTF::TextEncoding& encoding() const { return m_encoding; } 885 const WTF::TextEncoding& encoding() const { return m_encoding; }
886 886
887 String displayStringModifiedByEncoding(const String&) const;
888 PassRefPtr<StringImpl> displayStringModifiedByEncoding(PassRefPtr<StringImpl >) const;
889 void displayBufferModifiedByEncoding(LChar* buffer, unsigned len) const
890 {
891 displayBufferModifiedByEncodingInternal(buffer, len);
892 }
893 void displayBufferModifiedByEncoding(UChar* buffer, unsigned len) const
894 {
895 displayBufferModifiedByEncodingInternal(buffer, len);
896 }
897
898 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; } 887 void setAnnotatedRegionsDirty(bool f) { m_annotatedRegionsDirty = f; }
899 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; } 888 bool annotatedRegionsDirty() const { return m_annotatedRegionsDirty; }
900 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } 889 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; }
901 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } 890 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; }
902 const Vector<AnnotatedRegionValue>& annotatedRegions() const; 891 const Vector<AnnotatedRegionValue>& annotatedRegions() const;
903 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); 892 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&);
904 893
905 virtual void removeAllEventListeners(); 894 virtual void removeAllEventListeners();
906 895
907 const SVGDocumentExtensions* svgExtensions(); 896 const SVGDocumentExtensions* svgExtensions();
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 void recalcStyleForLayoutIgnoringPendingStylesheets(); 1098 void recalcStyleForLayoutIgnoringPendingStylesheets();
1110 1099
1111 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const; 1100 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const;
1112 1101
1113 void loadEventDelayTimerFired(Timer<Document>*); 1102 void loadEventDelayTimerFired(Timer<Document>*);
1114 1103
1115 void pendingTasksTimerFired(Timer<Document>*); 1104 void pendingTasksTimerFired(Timer<Document>*);
1116 1105
1117 static void didReceiveTask(void*); 1106 static void didReceiveTask(void*);
1118 1107
1119 template <typename CharacterType>
1120 void displayBufferModifiedByEncodingInternal(CharacterType*, unsigned) const ;
1121
1122 PageVisibilityState visibilityState() const; 1108 PageVisibilityState visibilityState() const;
1123 1109
1124 PassRefPtr<HTMLCollection> ensureCachedCollection(CollectionType); 1110 PassRefPtr<HTMLCollection> ensureCachedCollection(CollectionType);
1125 1111
1126 // Note that dispatching a window load event may cause the DOMWindow to be d etached from 1112 // Note that dispatching a window load event may cause the DOMWindow to be d etached from
1127 // the Frame, so callers should take a reference to the DOMWindow (which own s us) to 1113 // the Frame, so callers should take a reference to the DOMWindow (which own s us) to
1128 // prevent the Document from getting blown away from underneath them. 1114 // prevent the Document from getting blown away from underneath them.
1129 void dispatchWindowLoadEvent(); 1115 void dispatchWindowLoadEvent();
1130 1116
1131 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene rType; } 1117 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene rType; }
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 inline bool Node::isDocumentNode() const 1402 inline bool Node::isDocumentNode() const
1417 { 1403 {
1418 return this == documentInternal(); 1404 return this == documentInternal();
1419 } 1405 }
1420 1406
1421 Node* eventTargetNodeForDocument(Document*); 1407 Node* eventTargetNodeForDocument(Document*);
1422 1408
1423 } // namespace WebCore 1409 } // namespace WebCore
1424 1410
1425 #endif // Document_h 1411 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698