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

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

Issue 2116563003: [DevTools] Report unhandled exceptions and promise rejections through Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after ExceptionDetails change Created 4 years, 5 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
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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 const DocumentTiming& timing() const { return m_documentTiming; } 944 const DocumentTiming& timing() const { return m_documentTiming; }
945 945
946 int requestAnimationFrame(FrameRequestCallback*); 946 int requestAnimationFrame(FrameRequestCallback*);
947 void cancelAnimationFrame(int id); 947 void cancelAnimationFrame(int id);
948 void serviceScriptedAnimations(double monotonicAnimationStartTime); 948 void serviceScriptedAnimations(double monotonicAnimationStartTime);
949 949
950 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&); 950 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&);
951 void cancelIdleCallback(int id); 951 void cancelIdleCallback(int id);
952 952
953 EventTarget* errorEventTarget() final; 953 EventTarget* errorEventTarget() final;
954 void logExceptionToConsole(const String& errorMessage, std::unique_ptr<Sourc eLocation>) final; 954 void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocat ion>) final;
955 955
956 void initDNSPrefetch(); 956 void initDNSPrefetch();
957 957
958 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } 958 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; }
959 959
960 TextAutosizer* textAutosizer(); 960 TextAutosizer* textAutosizer();
961 961
962 Element* createElement(const AtomicString& localName, const AtomicString& ty peExtension, ExceptionState&); 962 Element* createElement(const AtomicString& localName, const AtomicString& ty peExtension, ExceptionState&);
963 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin g& qualifiedName, const AtomicString& typeExtension, ExceptionState&); 963 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin g& qualifiedName, const AtomicString& typeExtension, ExceptionState&);
964 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, V0CustomElement::NameSet validNames = V0CustomElement::StandardNames); 964 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, V0CustomElement::NameSet validNames = V0CustomElement::StandardNames);
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1461 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1462 1462
1463 } // namespace blink 1463 } // namespace blink
1464 1464
1465 #ifndef NDEBUG 1465 #ifndef NDEBUG
1466 // Outside the WebCore namespace for ease of invocation from gdb. 1466 // Outside the WebCore namespace for ease of invocation from gdb.
1467 CORE_EXPORT void showLiveDocumentInstances(); 1467 CORE_EXPORT void showLiveDocumentInstances();
1468 #endif 1468 #endif
1469 1469
1470 #endif // Document_h 1470 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698