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

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

Issue 22573005: [HTML Imports] Implement "load" and "error" events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 7 years, 4 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
« no previous file with comments | « Source/core/html/HTMLImportLoader.cpp ('k') | Source/core/html/HTMLImportsController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportLoaderClient.h
diff --git a/Source/core/loader/UniqueIdentifier.cpp b/Source/core/html/HTMLImportLoaderClient.h
similarity index 88%
copy from Source/core/loader/UniqueIdentifier.cpp
copy to Source/core/html/HTMLImportLoaderClient.h
index 0ad56563e3e214a67acd8c53decb085ad4250cb9..0cac67f2dca404e039df1785c07743cedbc34add 100644
--- a/Source/core/loader/UniqueIdentifier.cpp
+++ b/Source/core/html/HTMLImportLoaderClient.h
@@ -28,17 +28,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
-#include "core/loader/UniqueIdentifier.h"
+#ifndef HTMLImportLoaderClient_h
+#define HTMLImportLoaderClient_h
namespace WebCore {
-static unsigned long s_uniqueIdentifier = 0;
-
-unsigned long createUniqueIdentifier()
-{
- return ++s_uniqueIdentifier;
-}
+class HTMLImportLoaderClient {
+public:
+ virtual ~HTMLImportLoaderClient() { }
+ virtual void didFinish() = 0;
+};
} // namespace WebCore
+#endif // HTMLImportLoaderClient_h
« no previous file with comments | « Source/core/html/HTMLImportLoader.cpp ('k') | Source/core/html/HTMLImportsController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698