Chromium Code Reviews| Index: Source/core/page/DOMWindow.h |
| diff --git a/Source/core/page/DOMWindow.h b/Source/core/page/DOMWindow.h |
| index ae98cf0a1fb716d1597a64c4e27225ece329b7b7..05de0436e2e53ec0d8e0511d0f9ec55374b4c5e1 100644 |
| --- a/Source/core/page/DOMWindow.h |
| +++ b/Source/core/page/DOMWindow.h |
| @@ -30,12 +30,14 @@ |
| #include "bindings/v8/ScriptWrappable.h" |
| #include "core/dom/EventTarget.h" |
| #include "core/page/FrameDestructionObserver.h" |
| +#include "core/page/ImageBitmapFactories.h" |
| #include "core/platform/Supplementable.h" |
| #include "wtf/Forward.h" |
| namespace WebCore { |
| class BarProp; |
| + class Blob; |
| class CSSRuleList; |
| class CSSStyleDeclaration; |
| class Console; |
| @@ -54,6 +56,7 @@ namespace WebCore { |
| class Frame; |
| class History; |
| class IDBFactory; |
| + class ImageBitmapLoader; |
| class Location; |
| class MediaQueryList; |
| class MessageEvent; |
| @@ -242,6 +245,9 @@ namespace WebCore { |
| DOMWindowCSS* css(); |
| + void loadBlobAsync(ImageBitmapLoader*, Blob*); |
|
Justin Novosad
2013/08/07 19:35:12
Why does this need to live in DOM window? it does
|
| + void finishedLoading(ImageBitmapLoader*); |
| + |
| // Events |
| // EventTarget API |
| virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture); |
| @@ -393,6 +399,7 @@ namespace WebCore { |
| bool m_shouldPrintWhenFinishedLoading; |
| HashSet<DOMWindowProperty*> m_properties; |
| + HashSet<ImageBitmapLoader*> m_pendingImageBitmapLoaders; |
| mutable RefPtr<Screen> m_screen; |
| mutable RefPtr<History> m_history; |