OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 OffscreenCanvas*, | 223 OffscreenCanvas*, |
224 const CanvasContextCreationAttributes&); | 224 const CanvasContextCreationAttributes&); |
225 DECLARE_VIRTUAL_TRACE(); | 225 DECLARE_VIRTUAL_TRACE(); |
226 virtual void Stop() = 0; | 226 virtual void Stop() = 0; |
227 | 227 |
228 private: | 228 private: |
229 void Dispose(); | 229 void Dispose(); |
230 | 230 |
231 Member<HTMLCanvasElement> canvas_; | 231 Member<HTMLCanvasElement> canvas_; |
232 Member<OffscreenCanvas> offscreen_canvas_; | 232 Member<OffscreenCanvas> offscreen_canvas_; |
233 HashSet<String> clean_ur_ls_; | 233 HashSet<String> clean_urls_; |
234 HashSet<String> dirty_ur_ls_; | 234 HashSet<String> dirty_urls_; |
235 CanvasColorSpace color_space_; | 235 CanvasColorSpace color_space_; |
236 CanvasPixelFormat pixel_format_; | 236 CanvasPixelFormat pixel_format_; |
237 bool linear_pixel_math_ = false; | 237 bool linear_pixel_math_ = false; |
238 CanvasContextCreationAttributes creation_attributes_; | 238 CanvasContextCreationAttributes creation_attributes_; |
239 bool finalize_frame_scheduled_ = false; | 239 bool finalize_frame_scheduled_ = false; |
240 }; | 240 }; |
241 | 241 |
242 } // namespace blink | 242 } // namespace blink |
243 | 243 |
244 #endif | 244 #endif |
OLD | NEW |