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

Unified Diff: Source/core/html/HTMLImportsMaster.h

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Got rid of CachedDocument usage Created 7 years, 7 months 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698