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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 2856653003: Clean up bindings/core/v8 (Part 3) (Closed)
Patch Set: Rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 12 matching lines...) Expand all
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifndef HTMLCanvasElement_h 28 #ifndef HTMLCanvasElement_h
29 #define HTMLCanvasElement_h 29 #define HTMLCanvasElement_h
30 30
31 #include <memory> 31 #include <memory>
32 #include "bindings/core/v8/ScriptValue.h" 32 #include "bindings/core/v8/ScriptValue.h"
33 #include "bindings/core/v8/ScriptWrappableVisitor.h"
34 #include "core/CoreExport.h" 33 #include "core/CoreExport.h"
35 #include "core/dom/ContextLifecycleObserver.h" 34 #include "core/dom/ContextLifecycleObserver.h"
36 #include "core/dom/DOMTypedArray.h" 35 #include "core/dom/DOMTypedArray.h"
37 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
38 #include "core/fileapi/BlobCallback.h" 37 #include "core/fileapi/BlobCallback.h"
39 #include "core/html/HTMLElement.h" 38 #include "core/html/HTMLElement.h"
40 #include "core/html/canvas/CanvasDrawListener.h" 39 #include "core/html/canvas/CanvasDrawListener.h"
41 #include "core/html/canvas/CanvasImageSource.h" 40 #include "core/html/canvas/CanvasImageSource.h"
42 #include "core/html/canvas/CanvasRenderingContextHost.h" 41 #include "core/html/canvas/CanvasRenderingContextHost.h"
43 #include "core/imagebitmap/ImageBitmapSource.h" 42 #include "core/imagebitmap/ImageBitmapSource.h"
44 #include "core/page/PageVisibilityObserver.h" 43 #include "core/page/PageVisibilityObserver.h"
44 #include "platform/bindings/ScriptWrappableVisitor.h"
45 #include "platform/geometry/FloatRect.h" 45 #include "platform/geometry/FloatRect.h"
46 #include "platform/geometry/IntSize.h" 46 #include "platform/geometry/IntSize.h"
47 #include "platform/graphics/CanvasSurfaceLayerBridge.h" 47 #include "platform/graphics/CanvasSurfaceLayerBridge.h"
48 #include "platform/graphics/GraphicsTypes.h" 48 #include "platform/graphics/GraphicsTypes.h"
49 #include "platform/graphics/GraphicsTypes3D.h" 49 #include "platform/graphics/GraphicsTypes3D.h"
50 #include "platform/graphics/ImageBufferClient.h" 50 #include "platform/graphics/ImageBufferClient.h"
51 #include "platform/graphics/OffscreenCanvasPlaceholder.h" 51 #include "platform/graphics/OffscreenCanvasPlaceholder.h"
52 #include "platform/heap/Handle.h" 52 #include "platform/heap/Handle.h"
53 53
54 #define CanvasDefaultInterpolationQuality kInterpolationLow 54 #define CanvasDefaultInterpolationQuality kInterpolationLow
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 std::unique_ptr<CanvasSurfaceLayerBridge> surface_layer_bridge_; 336 std::unique_ptr<CanvasSurfaceLayerBridge> surface_layer_bridge_;
337 337
338 int num_frames_since_last_rendering_mode_switch_; 338 int num_frames_since_last_rendering_mode_switch_;
339 bool pending_rendering_mode_switch_; 339 bool pending_rendering_mode_switch_;
340 bool did_notify_listeners_for_current_frame_ = false; 340 bool did_notify_listeners_for_current_frame_ = false;
341 }; 341 };
342 342
343 } // namespace blink 343 } // namespace blink
344 344
345 #endif // HTMLCanvasElement_h 345 #endif // HTMLCanvasElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.h ('k') | third_party/WebKit/Source/core/html/HTMLLinkElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698