OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #elif PLATFORM(WIN) | 56 #elif PLATFORM(WIN) |
57 namespace WebCore { | 57 namespace WebCore { |
58 class WKCACFLayer; | 58 class WKCACFLayer; |
59 typedef WKCACFLayer PlatformLayer; | 59 typedef WKCACFLayer PlatformLayer; |
60 typedef void* NativeLayer; | 60 typedef void* NativeLayer; |
61 } | 61 } |
62 #elif PLATFORM(QT) | 62 #elif PLATFORM(QT) |
63 class QGraphicsItem; | 63 class QGraphicsItem; |
64 typedef QGraphicsItem PlatformLayer; | 64 typedef QGraphicsItem PlatformLayer; |
65 typedef QGraphicsItem* NativeLayer; | 65 typedef QGraphicsItem* NativeLayer; |
| 66 #elif PLATFORM(CHROMIUM) |
| 67 namespace WebCore { |
| 68 class LayerSkia; |
| 69 typedef LayerSkia PlatformLayer; |
| 70 typedef void* NativeLayer; |
| 71 } |
66 #else | 72 #else |
67 typedef void* PlatformLayer; | 73 typedef void* PlatformLayer; |
68 typedef void* NativeLayer; | 74 typedef void* NativeLayer; |
69 #endif | 75 #endif |
70 | 76 |
71 namespace WebCore { | 77 namespace WebCore { |
72 | 78 |
73 class FloatPoint3D; | 79 class FloatPoint3D; |
74 class GraphicsContext; | 80 class GraphicsContext; |
75 class Image; | 81 class Image; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 int m_repaintCount; | 401 int m_repaintCount; |
396 }; | 402 }; |
397 | 403 |
398 | 404 |
399 } // namespace WebCore | 405 } // namespace WebCore |
400 | 406 |
401 #endif // USE(ACCELERATED_COMPOSITING) | 407 #endif // USE(ACCELERATED_COMPOSITING) |
402 | 408 |
403 #endif // GraphicsLayer_h | 409 #endif // GraphicsLayer_h |
404 | 410 |
OLD | NEW |