| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 { | 78 enum AccelerationHint { |
| 79 PreferAcceleration, | 79 PreferAcceleration, |
| 80 // The PreferAccelerationAfterVisibilityChange hint suggests we should switc
h back to acceleration |
| 81 // in the context of the canvas becoming visible again. |
| 82 PreferAccelerationAfterVisibilityChange, |
| 80 PreferNoAcceleration, | 83 PreferNoAcceleration, |
| 81 }; | 84 }; |
| 82 | 85 |
| 83 enum ImageInitializationMode { | 86 enum ImageInitializationMode { |
| 84 InitializeImagePixels, | 87 InitializeImagePixels, |
| 85 DoNotInitializeImagePixels, | 88 DoNotInitializeImagePixels, |
| 86 }; | 89 }; |
| 87 | 90 |
| 88 // TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2D
State.h once | 91 // TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2D
State.h once |
| 89 // GraphicsContext no longer uses it. | 92 // GraphicsContext no longer uses it. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 154 |
| 152 PLATFORM_EXPORT String textAlignName(TextAlign); | 155 PLATFORM_EXPORT String textAlignName(TextAlign); |
| 153 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 156 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
| 154 | 157 |
| 155 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 158 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
| 156 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 159 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
| 157 | 160 |
| 158 } // namespace blink | 161 } // namespace blink |
| 159 | 162 |
| 160 #endif | 163 #endif |
| OLD | NEW |