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

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

Issue 368533003: Revert of Call media query change listeners asynchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/MediaQueryMatcher.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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 class HTMLLinkElement; 108 class HTMLLinkElement;
109 class HTMLScriptElement; 109 class HTMLScriptElement;
110 class HitTestRequest; 110 class HitTestRequest;
111 class LayoutPoint; 111 class LayoutPoint;
112 class LiveNodeListBase; 112 class LiveNodeListBase;
113 class Locale; 113 class Locale;
114 class LocalDOMWindow; 114 class LocalDOMWindow;
115 class LocalFrame; 115 class LocalFrame;
116 class Location; 116 class Location;
117 class MainThreadTaskRunner; 117 class MainThreadTaskRunner;
118 class MediaQueryListListener;
119 class MediaQueryMatcher; 118 class MediaQueryMatcher;
120 class NodeFilter; 119 class NodeFilter;
121 class NodeIterator; 120 class NodeIterator;
122 class Page; 121 class Page;
123 class PlatformMouseEvent; 122 class PlatformMouseEvent;
124 class ProcessingInstruction; 123 class ProcessingInstruction;
125 class QualifiedName; 124 class QualifiedName;
126 class Range; 125 class Range;
127 class RenderView; 126 class RenderView;
128 class RequestAnimationFrameCallback; 127 class RequestAnimationFrameCallback;
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 901
903 virtual bool isContextThread() const OVERRIDE FINAL; 902 virtual bool isContextThread() const OVERRIDE FINAL;
904 virtual bool isJSExecutionForbidden() const OVERRIDE FINAL { return false; } 903 virtual bool isJSExecutionForbidden() const OVERRIDE FINAL { return false; }
905 904
906 bool containsValidityStyleRules() const { return m_containsValidityStyleRule s; } 905 bool containsValidityStyleRules() const { return m_containsValidityStyleRule s; }
907 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; } 906 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; }
908 907
909 void enqueueResizeEvent(); 908 void enqueueResizeEvent();
910 void enqueueScrollEventForNode(Node*); 909 void enqueueScrollEventForNode(Node*);
911 void enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>); 910 void enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>);
912 void enqueueMediaQueryChangeListeners(WillBeHeapVector<RefPtrWillBeMember<Me diaQueryListListener> >&);
913 911
914 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; } 912 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; }
915 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; } 913 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; }
916 914
917 void exitPointerLock(); 915 void exitPointerLock();
918 Element* pointerLockElement() const; 916 Element* pointerLockElement() const;
919 917
920 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 918 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
921 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 919 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
922 void decrementLoadEventDelayCount(); 920 void decrementLoadEventDelayCount();
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 inline bool Node::isDocumentNode() const 1425 inline bool Node::isDocumentNode() const
1428 { 1426 {
1429 return this == document(); 1427 return this == document();
1430 } 1428 }
1431 1429
1432 Node* eventTargetNodeForDocument(Document*); 1430 Node* eventTargetNodeForDocument(Document*);
1433 1431
1434 } // namespace WebCore 1432 } // namespace WebCore
1435 1433
1436 #endif // Document_h 1434 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/css/MediaQueryMatcher.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698