| OLD | NEW |
| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 void inflateStrokeRect(FloatRect&) const; | 320 void inflateStrokeRect(FloatRect&) const; |
| 321 | 321 |
| 322 template<class T> void fullCanvasCompositedFill(const T&); | 322 template<class T> void fullCanvasCompositedFill(const T&); |
| 323 template<class T> void fullCanvasCompositedDrawImage(T*, const FloatRect&, c
onst FloatRect&, CompositeOperator); | 323 template<class T> void fullCanvasCompositedDrawImage(T*, const FloatRect&, c
onst FloatRect&, CompositeOperator); |
| 324 | 324 |
| 325 PassRefPtr<ImageData> getImageData(ImageBuffer::CoordinateSystem, float sx,
float sy, float sw, float sh, ExceptionState&) const; | 325 PassRefPtr<ImageData> getImageData(ImageBuffer::CoordinateSystem, float sx,
float sy, float sw, float sh, ExceptionState&) const; |
| 326 void putImageData(ImageData*, ImageBuffer::CoordinateSystem, float dx, float
dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight, ExceptionS
tate&); | 326 void putImageData(ImageData*, ImageBuffer::CoordinateSystem, float dx, float
dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight, ExceptionS
tate&); |
| 327 | 327 |
| 328 bool focusRingCallIsValid(const Path&, Element*); | 328 bool focusRingCallIsValid(const Path&, Element*); |
| 329 void updateFocusRingAccessibility(const Path&, Element*); | 329 void updateFocusRingAccessibility(const Path&, Element*); |
| 330 void drawFocusRing(const Path&, Element*); | 330 void drawFocusRing(const Path&); |
| 331 | 331 |
| 332 virtual bool is2d() const OVERRIDE { return true; } | 332 virtual bool is2d() const OVERRIDE { return true; } |
| 333 virtual bool isAccelerated() const OVERRIDE; | 333 virtual bool isAccelerated() const OVERRIDE; |
| 334 virtual bool hasAlpha() const OVERRIDE { return m_hasAlpha; } | 334 virtual bool hasAlpha() const OVERRIDE { return m_hasAlpha; } |
| 335 | 335 |
| 336 virtual bool isTransformInvertible() const { return state().m_invertibleCTM;
} | 336 virtual bool isTransformInvertible() const { return state().m_invertibleCTM;
} |
| 337 | 337 |
| 338 virtual WebKit::WebLayer* platformLayer() const OVERRIDE; | 338 virtual WebKit::WebLayer* platformLayer() const OVERRIDE; |
| 339 | 339 |
| 340 Vector<State, 1> m_stateStack; | 340 Vector<State, 1> m_stateStack; |
| 341 unsigned m_unrealizedSaveCount; | 341 unsigned m_unrealizedSaveCount; |
| 342 bool m_usesCSSCompatibilityParseMode; | 342 bool m_usesCSSCompatibilityParseMode; |
| 343 bool m_hasAlpha; | 343 bool m_hasAlpha; |
| 344 MutableStylePropertyMap m_cachedFonts; | 344 MutableStylePropertyMap m_cachedFonts; |
| 345 }; | 345 }; |
| 346 | 346 |
| 347 } // namespace WebCore | 347 } // namespace WebCore |
| 348 | 348 |
| 349 #endif | 349 #endif |
| OLD | NEW |