| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 void didWrite(long long bytes, bool complete) override; | 79 void didWrite(long long bytes, bool complete) override; |
| 80 void didTruncate() override; | 80 void didTruncate() override; |
| 81 void didFail(WebFileError) override; | 81 void didFail(WebFileError) override; |
| 82 | 82 |
| 83 // ActiveDOMObject | 83 // ActiveDOMObject |
| 84 void stop() override; | 84 void stop() override; |
| 85 bool hasPendingActivity() const override; | 85 bool hasPendingActivity() const override; |
| 86 | 86 |
| 87 // EventTarget | 87 // EventTarget |
| 88 const AtomicString& interfaceName() const override; | 88 const AtomicString& interfaceName() const override; |
| 89 ExecutionContext* executionContext() const override { return ActiveDOMObject
::executionContext(); } | 89 ExecutionContext* getExecutionContext() const override { return ActiveDOMObj
ect::getExecutionContext(); } |
| 90 | 90 |
| 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(writestart); | 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(writestart); |
| 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); | 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); |
| 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(write); | 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(write); |
| 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); | 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); |
| 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(writeend); | 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(writeend); |
| 97 | 97 |
| 98 DECLARE_VIRTUAL_TRACE(); | 98 DECLARE_VIRTUAL_TRACE(); |
| 99 | 99 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 127 long long m_numAborts; | 127 long long m_numAborts; |
| 128 long long m_recursionDepth; | 128 long long m_recursionDepth; |
| 129 double m_lastProgressNotificationTimeMS; | 129 double m_lastProgressNotificationTimeMS; |
| 130 Member<Blob> m_blobBeingWritten; | 130 Member<Blob> m_blobBeingWritten; |
| 131 int m_asyncOperationId; | 131 int m_asyncOperationId; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif // FileWriter_h | 136 #endif // FileWriter_h |
| OLD | NEW |