| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ImageBitmapRenderingContext_h | 5 #ifndef ImageBitmapRenderingContext_h |
| 6 #define ImageBitmapRenderingContext_h | 6 #define ImageBitmapRenderingContext_h |
| 7 | 7 |
| 8 #include "core/html/canvas/CanvasRenderingContext.h" | 8 #include "core/html/canvas/CanvasRenderingContext.h" |
| 9 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 9 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 11 #include "wtf/RefPtr.h" | 11 #include "platform/wtf/RefPtr.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ImageBitmap; | 15 class ImageBitmap; |
| 16 class ImageLayerBridge; | 16 class ImageLayerBridge; |
| 17 | 17 |
| 18 class MODULES_EXPORT ImageBitmapRenderingContext final | 18 class MODULES_EXPORT ImageBitmapRenderingContext final |
| 19 : public CanvasRenderingContext { | 19 : public CanvasRenderingContext { |
| 20 DEFINE_WRAPPERTYPEINFO(); | 20 DEFINE_WRAPPERTYPEINFO(); |
| 21 | 21 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 CanvasRenderingContext, | 73 CanvasRenderingContext, |
| 74 context, | 74 context, |
| 75 context->GetContextType() == | 75 context->GetContextType() == |
| 76 CanvasRenderingContext::kContextImageBitmap, | 76 CanvasRenderingContext::kContextImageBitmap, |
| 77 context.GetContextType() == | 77 context.GetContextType() == |
| 78 CanvasRenderingContext::kContextImageBitmap); | 78 CanvasRenderingContext::kContextImageBitmap); |
| 79 | 79 |
| 80 } // blink | 80 } // blink |
| 81 | 81 |
| 82 #endif | 82 #endif |
| OLD | NEW |