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

Side by Side Diff: sky/engine/core/dom/ScriptedAnimationController.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 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 30 matching lines...) Expand all
41 class MediaQueryListListener; 41 class MediaQueryListListener;
42 class RequestAnimationFrameCallback; 42 class RequestAnimationFrameCallback;
43 43
44 class ScriptedAnimationController : public RefCounted<ScriptedAnimationControlle r> { 44 class ScriptedAnimationController : public RefCounted<ScriptedAnimationControlle r> {
45 public: 45 public:
46 static PassRefPtr<ScriptedAnimationController> create(Document* document) 46 static PassRefPtr<ScriptedAnimationController> create(Document* document)
47 { 47 {
48 return adoptRef(new ScriptedAnimationController(document)); 48 return adoptRef(new ScriptedAnimationController(document));
49 } 49 }
50 ~ScriptedAnimationController(); 50 ~ScriptedAnimationController();
51 void trace(Visitor*);
52 void clearDocumentPointer() { m_document = nullptr; } 51 void clearDocumentPointer() { m_document = nullptr; }
53 52
54 typedef int CallbackId; 53 typedef int CallbackId;
55 54
56 int registerCallback(PassOwnPtr<RequestAnimationFrameCallback>); 55 int registerCallback(PassOwnPtr<RequestAnimationFrameCallback>);
57 void cancelCallback(CallbackId); 56 void cancelCallback(CallbackId);
58 void serviceScriptedAnimations(double monotonicTimeNow); 57 void serviceScriptedAnimations(double monotonicTimeNow);
59 58
60 void enqueueEvent(PassRefPtr<Event>); 59 void enqueueEvent(PassRefPtr<Event>);
61 void enqueuePerFrameEvent(PassRefPtr<Event>); 60 void enqueuePerFrameEvent(PassRefPtr<Event>);
(...skipping 20 matching lines...) Expand all
82 int m_suspendCount; 81 int m_suspendCount;
83 Vector<RefPtr<Event> > m_eventQueue; 82 Vector<RefPtr<Event> > m_eventQueue;
84 ListHashSet<std::pair<RawPtr<const EventTarget>, const StringImpl*> > m_perF rameEvents; 83 ListHashSet<std::pair<RawPtr<const EventTarget>, const StringImpl*> > m_perF rameEvents;
85 typedef ListHashSet<RefPtr<MediaQueryListListener> > MediaQueryListListeners ; 84 typedef ListHashSet<RefPtr<MediaQueryListListener> > MediaQueryListListeners ;
86 MediaQueryListListeners m_mediaQueryListListeners; 85 MediaQueryListListeners m_mediaQueryListListeners;
87 }; 86 };
88 87
89 } 88 }
90 89
91 #endif // ScriptedAnimationController_h 90 #endif // ScriptedAnimationController_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/RequestAnimationFrameCallback.h ('k') | sky/engine/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698