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

Side by Side Diff: sky/engine/core/html/HTMLCanvasElement.cpp

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/frame/Location.cpp ('k') | sky/engine/core/html/HTMLTitleElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 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 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "sky/engine/config.h" 28 #include "sky/engine/config.h"
29 #include "sky/engine/core/html/HTMLCanvasElement.h" 29 #include "sky/engine/core/html/HTMLCanvasElement.h"
30 30
31 #include <math.h> 31 #include <math.h>
32 32
33 #include "base/bind.h" 33 #include "base/bind.h"
34 #include "gen/sky/core/HTMLNames.h" 34 #include "gen/sky/core/HTMLNames.h"
35 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 35 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
36 #include "sky/engine/bindings2/exception_messages.h" 36 #include "sky/engine/bindings/exception_messages.h"
37 #include "sky/engine/bindings2/exception_state.h" 37 #include "sky/engine/bindings/exception_state.h"
38 #include "sky/engine/core/dom/Document.h" 38 #include "sky/engine/core/dom/Document.h"
39 #include "sky/engine/core/dom/ExceptionCode.h" 39 #include "sky/engine/core/dom/ExceptionCode.h"
40 #include "sky/engine/core/dom/Microtask.h" 40 #include "sky/engine/core/dom/Microtask.h"
41 #include "sky/engine/core/frame/LocalFrame.h" 41 #include "sky/engine/core/frame/LocalFrame.h"
42 #include "sky/engine/core/frame/Settings.h" 42 #include "sky/engine/core/frame/Settings.h"
43 #include "sky/engine/core/html/ImageData.h" 43 #include "sky/engine/core/html/ImageData.h"
44 #include "sky/engine/core/html/canvas/Canvas2DContextAttributes.h" 44 #include "sky/engine/core/html/canvas/Canvas2DContextAttributes.h"
45 #include "sky/engine/core/html/canvas/CanvasRenderingContext2D.h" 45 #include "sky/engine/core/html/canvas/CanvasRenderingContext2D.h"
46 #include "sky/engine/core/html/canvas/WebGLContextAttributes.h" 46 #include "sky/engine/core/html/canvas/WebGLContextAttributes.h"
47 #include "sky/engine/core/html/canvas/WebGLContextEvent.h" 47 #include "sky/engine/core/html/canvas/WebGLContextEvent.h"
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 } 646 }
647 return m_imageBuffer->copyImage(DontCopyBackingStore, Unscaled); 647 return m_imageBuffer->copyImage(DontCopyBackingStore, Unscaled);
648 } 648 }
649 649
650 FloatSize HTMLCanvasElement::sourceSize() const 650 FloatSize HTMLCanvasElement::sourceSize() const
651 { 651 {
652 return FloatSize(width(), height()); 652 return FloatSize(width(), height());
653 } 653 }
654 654
655 } 655 }
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Location.cpp ('k') | sky/engine/core/html/HTMLTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698