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

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext2D.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed.
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 23 matching lines...) Expand all
34 #include "core/platform/graphics/Path.h" 34 #include "core/platform/graphics/Path.h"
35 #include "core/svg/SVGMatrix.h" 35 #include "core/svg/SVGMatrix.h"
36 #include "platform/geometry/FloatSize.h" 36 #include "platform/geometry/FloatSize.h"
37 #include "platform/graphics/Color.h" 37 #include "platform/graphics/Color.h"
38 #include "platform/graphics/GraphicsTypes.h" 38 #include "platform/graphics/GraphicsTypes.h"
39 #include "platform/transforms/AffineTransform.h" 39 #include "platform/transforms/AffineTransform.h"
40 #include "wtf/HashMap.h" 40 #include "wtf/HashMap.h"
41 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
42 #include "wtf/text/WTFString.h" 42 #include "wtf/text/WTFString.h"
43 43
44 namespace WebKit { class WebLayer; } 44 namespace blink { class WebLayer; }
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 class CanvasGradient; 48 class CanvasGradient;
49 class CanvasPattern; 49 class CanvasPattern;
50 class CanvasStyle; 50 class CanvasStyle;
51 class DOMPath; 51 class DOMPath;
52 class Element; 52 class Element;
53 class ExceptionState; 53 class ExceptionState;
54 class FloatRect; 54 class FloatRect;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 bool focusRingCallIsValid(const Path&, Element*); 323 bool focusRingCallIsValid(const Path&, Element*);
324 void updateFocusRingAccessibility(const Path&, Element*); 324 void updateFocusRingAccessibility(const Path&, Element*);
325 void drawFocusRing(const Path&); 325 void drawFocusRing(const Path&);
326 326
327 virtual bool is2d() const OVERRIDE { return true; } 327 virtual bool is2d() const OVERRIDE { return true; }
328 virtual bool isAccelerated() const OVERRIDE; 328 virtual bool isAccelerated() const OVERRIDE;
329 virtual bool hasAlpha() const OVERRIDE { return m_hasAlpha; } 329 virtual bool hasAlpha() const OVERRIDE { return m_hasAlpha; }
330 330
331 virtual bool isTransformInvertible() const { return state().m_invertibleCTM; } 331 virtual bool isTransformInvertible() const { return state().m_invertibleCTM; }
332 332
333 virtual WebKit::WebLayer* platformLayer() const OVERRIDE; 333 virtual blink::WebLayer* platformLayer() const OVERRIDE;
334 334
335 Vector<State, 1> m_stateStack; 335 Vector<State, 1> m_stateStack;
336 unsigned m_unrealizedSaveCount; 336 unsigned m_unrealizedSaveCount;
337 bool m_usesCSSCompatibilityParseMode; 337 bool m_usesCSSCompatibilityParseMode;
338 bool m_hasAlpha; 338 bool m_hasAlpha;
339 MutableStylePropertyMap m_fetchedFonts; 339 MutableStylePropertyMap m_fetchedFonts;
340 }; 340 };
341 341
342 } // namespace WebCore 342 } // namespace WebCore
343 343
344 #endif 344 #endif
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext.h ('k') | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698