| Index: Source/core/html/HTMLImportsMaster.h
|
| diff --git a/Source/core/platform/Task.h b/Source/core/html/HTMLImportsMaster.h
|
| similarity index 81%
|
| copy from Source/core/platform/Task.h
|
| copy to Source/core/html/HTMLImportsMaster.h
|
| index fe0270a8ec78113c954aa5a1fd5d2758d23a89eb..536546b24240f73281eda6456204479d03f3ab9b 100644
|
| --- a/Source/core/platform/Task.h
|
| +++ b/Source/core/html/HTMLImportsMaster.h
|
| @@ -28,30 +28,24 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef Task_h
|
| -#define Task_h
|
| +#ifndef HTMLImportsMaster_h
|
| +#define HTMLImportsMaster_h
|
|
|
| -#include "wtf/Functional.h"
|
| -#include <public/WebThread.h>
|
| +#include "wtf/Forward.h"
|
|
|
| namespace WebCore {
|
|
|
| -class Task : public WebKit::WebThread::Task {
|
| -public:
|
| - explicit Task(const Closure& closure)
|
| - : m_closure(closure)
|
| - {
|
| - }
|
| -
|
| - virtual void run() OVERRIDE
|
| - {
|
| - m_closure();
|
| - }
|
| +class HTMLImports;
|
| +class SecurityContext;
|
|
|
| -private:
|
| - Closure m_closure;
|
| +class HTMLImportsMaster {
|
| +public:
|
| + virtual ~HTMLImportsMaster() { }
|
| + virtual void didLoadAllImports() = 0;
|
| + virtual SecurityContext* importsContext() = 0;
|
| + virtual void showSecurityErrorMessage(const String&) = 0;
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // Task_h
|
| +#endif // HTMLImportsMaster_h
|
|
|