OLD | NEW |
(Empty) | |
| 1 #ifndef ScriptQueuingStrategy_h |
| 2 #define ScriptQueuingStrategy_h |
| 3 |
| 4 #include "bindings/core/v8/ScriptValue.h" |
| 5 #include "bindings/core/v8/ScriptWrappable.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 class CORE_EXPORT ScriptQueuingStrategy : public GarbageCollectedFinalized<Scrip
tQueuingStrategy>, public ScriptWrappable { |
| 10 DEFINE_WRAPPERTYPEINFO(); |
| 11 |
| 12 public: |
| 13 explicit ScriptQueuingStrategy(double highWaterMark); |
| 14 double highWaterMark(); |
| 15 virtual double size(ScriptValue chunk) = 0; |
| 16 |
| 17 DECLARE_VIRTUAL_TRACE(); |
| 18 |
| 19 private: |
| 20 double m_highWaterMark; |
| 21 }; |
| 22 |
| 23 } // namespace blink |
| 24 |
| 25 #endif ScriptQueuingStrategy_h |
OLD | NEW |