| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 CompositeDestinationAtop, | 68 CompositeDestinationAtop, |
| 69 CompositeXOR, | 69 CompositeXOR, |
| 70 CompositePlusLighter | 70 CompositePlusLighter |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 enum OpacityMode { | 73 enum OpacityMode { |
| 74 NonOpaque, | 74 NonOpaque, |
| 75 Opaque, | 75 Opaque, |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 enum AccelerationHint { |
| 79 PreferAcceleration, |
| 80 PreferNoAcceleration, |
| 81 }; |
| 82 |
| 78 // TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2D
State.h once | 83 // TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2D
State.h once |
| 79 // GraphicsContext no longer uses it. | 84 // GraphicsContext no longer uses it. |
| 80 enum ShadowMode { | 85 enum ShadowMode { |
| 81 DrawShadowAndForeground, | 86 DrawShadowAndForeground, |
| 82 DrawShadowOnly, | 87 DrawShadowOnly, |
| 83 DrawForegroundOnly | 88 DrawForegroundOnly |
| 84 }; | 89 }; |
| 85 | 90 |
| 86 enum AntiAliasingMode { | 91 enum AntiAliasingMode { |
| 87 NotAntiAliased, | 92 NotAntiAliased, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 146 |
| 142 PLATFORM_EXPORT String textAlignName(TextAlign); | 147 PLATFORM_EXPORT String textAlignName(TextAlign); |
| 143 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 148 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
| 144 | 149 |
| 145 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 150 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
| 146 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 151 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
| 147 | 152 |
| 148 } // namespace blink | 153 } // namespace blink |
| 149 | 154 |
| 150 #endif | 155 #endif |
| OLD | NEW |