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

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

Issue 20890003: Limit console messages' automatic collection of parser state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline "fast/frames/sandboxed-iframe-autofocus-denied.html" Created 7 years, 4 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/bindings/v8/ScriptController.cpp ('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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; } 1020 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; }
1021 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ? m_topLayerElements.last().get() : 0; } 1021 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ? m_topLayerElements.last().get() : 0; }
1022 1022
1023 const Document* templateDocument() const; 1023 const Document* templateDocument() const;
1024 Document* ensureTemplateDocument(); 1024 Document* ensureTemplateDocument();
1025 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; } 1025 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; }
1026 Document* templateDocumentHost() { return m_templateDocumentHost; } 1026 Document* templateDocumentHost() { return m_templateDocumentHost; }
1027 1027
1028 void didAssociateFormControl(Element*); 1028 void didAssociateFormControl(Element*);
1029 1029
1030 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me ssage, unsigned long requestIdentifier = 0); 1030 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me ssage, unsigned long requestIdentifier = 0, ParserStateCollectionDisposition = D oNotForceParserStateCollection) OVERRIDE;
1031 1031
1032 PassRefPtr<FontLoader> fontloader(); 1032 PassRefPtr<FontLoader> fontloader();
1033 DocumentLifecycleNotifier* lifecycleNotifier(); 1033 DocumentLifecycleNotifier* lifecycleNotifier();
1034 1034
1035 protected: 1035 protected:
1036 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1036 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1037 1037
1038 virtual void didUpdateSecurityOrigin() OVERRIDE; 1038 virtual void didUpdateSecurityOrigin() OVERRIDE;
1039 1039
1040 void clearXMLVersion() { m_xmlVersion = String(); } 1040 void clearXMLVersion() { m_xmlVersion = String(); }
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 inline bool Node::isDocumentNode() const 1395 inline bool Node::isDocumentNode() const
1396 { 1396 {
1397 return this == documentInternal(); 1397 return this == documentInternal();
1398 } 1398 }
1399 1399
1400 Node* eventTargetNodeForDocument(Document*); 1400 Node* eventTargetNodeForDocument(Document*);
1401 1401
1402 } // namespace WebCore 1402 } // namespace WebCore
1403 1403
1404 #endif // Document_h 1404 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/ScriptController.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698