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

Unified Diff: Source/core/page/DOMWindow.h

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make ImageBitmapFactories a class. 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
Index: Source/core/page/DOMWindow.h
diff --git a/Source/core/page/DOMWindow.h b/Source/core/page/DOMWindow.h
index ae98cf0a1fb716d1597a64c4e27225ece329b7b7..f65caa5ce141dff05ea6075f0675b25d991a5bb6 100644
--- a/Source/core/page/DOMWindow.h
+++ b/Source/core/page/DOMWindow.h
@@ -30,6 +30,7 @@
#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"
@@ -79,7 +80,7 @@ namespace WebCore {
enum SetLocationLocking { LockHistoryBasedOnGestureState, LockHistoryAndBackForwardList };
- class DOMWindow : public RefCounted<DOMWindow>, public ScriptWrappable, public EventTarget, public FrameDestructionObserver, public Supplementable<DOMWindow> {
+ class DOMWindow : public RefCounted<DOMWindow>, public ScriptWrappable, public EventTarget, public FrameDestructionObserver, public ImageBitmapFactories, public Supplementable<DOMWindow> {
do-not-use 2013/08/12 15:02:19 Why do we need to subclass ImageBitmapFactories?
public:
static PassRefPtr<DOMWindow> create(Frame* frame) { return adoptRef(new DOMWindow(frame)); }
virtual ~DOMWindow();

Powered by Google App Engine
This is Rietveld 408576698