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

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

Issue 2605383002: Introduce IncrementLoadEventDelayCount::clearAndCheckLoadEvent() (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « no previous file | third_party/WebKit/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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 void exitPointerLock(); 1091 void exitPointerLock();
1092 Element* pointerLockElement() const; 1092 Element* pointerLockElement() const;
1093 1093
1094 // Used to allow element that loads data without going through a FrameLoader 1094 // Used to allow element that loads data without going through a FrameLoader
1095 // to delay the 'load' event. 1095 // to delay the 'load' event.
1096 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 1096 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
1097 void decrementLoadEventDelayCount(); 1097 void decrementLoadEventDelayCount();
1098 void checkLoadEventSoon(); 1098 void checkLoadEventSoon();
1099 bool isDelayingLoadEvent(); 1099 bool isDelayingLoadEvent();
1100 void loadPluginsSoon(); 1100 void loadPluginsSoon();
1101 // This calls checkCompleted() sync and thus can cause JavaScript execution.
1102 void decrementLoadEventDelayCountAndCheckLoadEvent();
1101 1103
1102 Touch* createTouch(DOMWindow*, 1104 Touch* createTouch(DOMWindow*,
1103 EventTarget*, 1105 EventTarget*,
1104 int identifier, 1106 int identifier,
1105 double pageX, 1107 double pageX,
1106 double pageY, 1108 double pageY,
1107 double screenX, 1109 double screenX,
1108 double screenY, 1110 double screenY,
1109 double radiusX, 1111 double radiusX,
1110 double radiusY, 1112 double radiusY,
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1723 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1722 1724
1723 } // namespace blink 1725 } // namespace blink
1724 1726
1725 #ifndef NDEBUG 1727 #ifndef NDEBUG
1726 // Outside the WebCore namespace for ease of invocation from gdb. 1728 // Outside the WebCore namespace for ease of invocation from gdb.
1727 CORE_EXPORT void showLiveDocumentInstances(); 1729 CORE_EXPORT void showLiveDocumentInstances();
1728 #endif 1730 #endif
1729 1731
1730 #endif // Document_h 1732 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698