OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ImageBitmapSource_h |
| 6 #define ImageBitmapSource_h |
| 7 |
| 8 #include "core/CoreExport.h" |
| 9 #include "platform/geometry/IntSize.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class CORE_EXPORT ImageBitmapSource { |
| 14 public: |
| 15 virtual IntSize bitmapSourceSize() const { return IntSize(); }; |
| 16 |
| 17 virtual bool isBlob() const { return false; } |
| 18 virtual bool isImageData() const { return false; } |
| 19 virtual bool isHTMLImageElement() const { return false; } |
| 20 virtual bool isHTMLVideoElement() const { return false; } |
| 21 virtual bool isCanvasElement() const { return false; } |
| 22 |
| 23 protected: |
| 24 virtual ~ImageBitmapSource() {} |
| 25 }; |
| 26 |
| 27 } // namespace blink |
| 28 |
| 29 #endif |
OLD | NEW |