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

Side by Side Diff: WebCore/dom/Document.h

Issue 3691003: Merge 69043 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « LayoutTests/media/video-transformed.html ('k') | WebCore/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 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 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 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 void updateFocusAppearanceTimerFired(Timer<Document>*); 1054 void updateFocusAppearanceTimerFired(Timer<Document>*);
1055 void updateBaseURL(); 1055 void updateBaseURL();
1056 1056
1057 void cacheDocumentElement() const; 1057 void cacheDocumentElement() const;
1058 1058
1059 void createStyleSelector(); 1059 void createStyleSelector();
1060 1060
1061 void pendingEventTimerFired(Timer<Document>*); 1061 void pendingEventTimerFired(Timer<Document>*);
1062 1062
1063 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const; 1063 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const;
1064
1065 void loadEventDelayTimerFired(Timer<Document>*);
1064 1066
1065 OwnPtr<CSSStyleSelector> m_styleSelector; 1067 OwnPtr<CSSStyleSelector> m_styleSelector;
1066 bool m_didCalculateStyleSelector; 1068 bool m_didCalculateStyleSelector;
1067 1069
1068 Frame* m_frame; 1070 Frame* m_frame;
1069 OwnPtr<DocLoader> m_docLoader; 1071 OwnPtr<DocLoader> m_docLoader;
1070 RefPtr<DocumentParser> m_parser; 1072 RefPtr<DocumentParser> m_parser;
1071 bool m_wellFormed; 1073 bool m_wellFormed;
1072 1074
1073 // Document URLs. 1075 // Document URLs.
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 1298
1297 QualifiedName m_idAttributeName; 1299 QualifiedName m_idAttributeName;
1298 1300
1299 #if ENABLE(FULLSCREEN_API) 1301 #if ENABLE(FULLSCREEN_API)
1300 bool m_isFullScreen; 1302 bool m_isFullScreen;
1301 bool m_areKeysEnabledInFullScreen; 1303 bool m_areKeysEnabledInFullScreen;
1302 RefPtr<Element> m_fullScreenElement; 1304 RefPtr<Element> m_fullScreenElement;
1303 #endif 1305 #endif
1304 1306
1305 int m_loadEventDelayCount; 1307 int m_loadEventDelayCount;
1308 Timer<Document> m_loadEventDelayTimer;
1306 }; 1309 };
1307 1310
1308 inline bool Document::hasElementWithId(AtomicStringImpl* id) const 1311 inline bool Document::hasElementWithId(AtomicStringImpl* id) const
1309 { 1312 {
1310 ASSERT(id); 1313 ASSERT(id);
1311 return m_elementsById.contains(id) || m_duplicateIds.contains(id); 1314 return m_elementsById.contains(id) || m_duplicateIds.contains(id);
1312 } 1315 }
1313 1316
1314 inline bool Node::isDocumentNode() const 1317 inline bool Node::isDocumentNode() const
1315 { 1318 {
(...skipping 11 matching lines...) Expand all
1327 if (m_document) 1330 if (m_document)
1328 m_document->selfOnlyRef(); 1331 m_document->selfOnlyRef();
1329 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1332 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS)
1330 trackForDebugging(); 1333 trackForDebugging();
1331 #endif 1334 #endif
1332 } 1335 }
1333 1336
1334 } // namespace WebCore 1337 } // namespace WebCore
1335 1338
1336 #endif // Document_h 1339 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/media/video-transformed.html ('k') | WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698