| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CanvasRenderingContextHost_h | 5 #ifndef CanvasRenderingContextHost_h |
| 6 #define CanvasRenderingContextHost_h | 6 #define CanvasRenderingContextHost_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | |
| 11 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| 12 #include "core/events/EventDispatcher.h" | 11 #include "core/events/EventDispatcher.h" |
| 13 #include "core/events/EventTarget.h" | 12 #include "core/events/EventTarget.h" |
| 13 #include "platform/bindings/ScriptState.h" |
| 14 #include "platform/geometry/FloatRect.h" | 14 #include "platform/geometry/FloatRect.h" |
| 15 #include "platform/geometry/IntSize.h" | 15 #include "platform/geometry/IntSize.h" |
| 16 #include "platform/graphics/ImageBuffer.h" | 16 #include "platform/graphics/ImageBuffer.h" |
| 17 #include "platform/heap/GarbageCollected.h" | 17 #include "platform/heap/GarbageCollected.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 class StaticBitmapImage; | 21 class StaticBitmapImage; |
| 22 class KURL; | 22 class KURL; |
| 23 | 23 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 52 // TODO(fserb): remove this. | 52 // TODO(fserb): remove this. |
| 53 virtual bool IsOffscreenCanvas() const { return false; } | 53 virtual bool IsOffscreenCanvas() const { return false; } |
| 54 | 54 |
| 55 protected: | 55 protected: |
| 56 virtual ~CanvasRenderingContextHost() {} | 56 virtual ~CanvasRenderingContextHost() {} |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // CanvasRenderingContextHost_h | 61 #endif // CanvasRenderingContextHost_h |
| OLD | NEW |