| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void dispatchEventsAndCallbacksForPrinting(); | 70 void dispatchEventsAndCallbacksForPrinting(); |
| 71 private: | 71 private: |
| 72 explicit ScriptedAnimationController(Document*); | 72 explicit ScriptedAnimationController(Document*); |
| 73 | 73 |
| 74 void scheduleAnimationIfNeeded(); | 74 void scheduleAnimationIfNeeded(); |
| 75 | 75 |
| 76 void dispatchEvents(const AtomicString& eventInterfaceFilter = AtomicString(
)); | 76 void dispatchEvents(const AtomicString& eventInterfaceFilter = AtomicString(
)); |
| 77 void executeCallbacks(double monotonicTimeNow); | 77 void executeCallbacks(double monotonicTimeNow); |
| 78 void callMediaQueryListListeners(); | 78 void callMediaQueryListListeners(); |
| 79 | 79 |
| 80 bool hasScheduledItems() const; |
| 81 |
| 80 RawPtrWillBeMember<Document> m_document; | 82 RawPtrWillBeMember<Document> m_document; |
| 81 FrameRequestCallbackCollection m_callbackCollection; | 83 FrameRequestCallbackCollection m_callbackCollection; |
| 82 int m_suspendCount; | 84 int m_suspendCount; |
| 83 WillBeHeapVector<RefPtrWillBeMember<Event>> m_eventQueue; | 85 WillBeHeapVector<RefPtrWillBeMember<Event>> m_eventQueue; |
| 84 WillBeHeapListHashSet<std::pair<RawPtrWillBeMember<const EventTarget>, const
StringImpl*>> m_perFrameEvents; | 86 WillBeHeapListHashSet<std::pair<RawPtrWillBeMember<const EventTarget>, const
StringImpl*>> m_perFrameEvents; |
| 85 typedef WillBeHeapListHashSet<RefPtrWillBeMember<MediaQueryListListener>> Me
diaQueryListListeners; | 87 using MediaQueryListListeners = WillBeHeapListHashSet<RefPtrWillBeMember<Med
iaQueryListListener>>; |
| 86 MediaQueryListListeners m_mediaQueryListListeners; | 88 MediaQueryListListeners m_mediaQueryListListeners; |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } // namespace blink | 91 } // namespace blink |
| 90 | 92 |
| 91 #endif // ScriptedAnimationController_h | 93 #endif // ScriptedAnimationController_h |
| OLD | NEW |