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

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

Issue 82843003: Fire overflowchanged events at raf timing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a test Created 7 years 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
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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 883
884 void setContainsPlugins() { m_containsPlugins = true; } 884 void setContainsPlugins() { m_containsPlugins = true; }
885 bool containsPlugins() const { return m_containsPlugins; } 885 bool containsPlugins() const { return m_containsPlugins; }
886 886
887 virtual bool isContextThread() const; 887 virtual bool isContextThread() const;
888 virtual bool isJSExecutionForbidden() const { return false; } 888 virtual bool isJSExecutionForbidden() const { return false; }
889 889
890 bool containsValidityStyleRules() const { return m_containsValidityStyleRule s; } 890 bool containsValidityStyleRules() const { return m_containsValidityStyleRule s; }
891 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; } 891 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; }
892 892
893 void enqueueResizeEvent();
893 void enqueueScrollEventForNode(Node*); 894 void enqueueScrollEventForNode(Node*);
894 void scheduleAnimationFrameEvent(PassRefPtr<Event>); 895 void enqueueAnimationFrameEvent(PassRefPtr<Event>);
895 896
896 const QualifiedName& idAttributeName() const { return m_idAttributeName; } 897 const QualifiedName& idAttributeName() const { return m_idAttributeName; }
897 898
898 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; } 899 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; }
899 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; } 900 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; }
900 901
901 void webkitExitPointerLock(); 902 void webkitExitPointerLock();
902 Element* webkitPointerLockElement() const; 903 Element* webkitPointerLockElement() const;
903 904
904 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 905 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 inline bool Node::isDocumentNode() const 1357 inline bool Node::isDocumentNode() const
1357 { 1358 {
1358 return this == documentInternal(); 1359 return this == documentInternal();
1359 } 1360 }
1360 1361
1361 Node* eventTargetNodeForDocument(Document*); 1362 Node* eventTargetNodeForDocument(Document*);
1362 1363
1363 } // namespace WebCore 1364 } // namespace WebCore
1364 1365
1365 #endif // Document_h 1366 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/overflowchanged-event-raf-timing-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698