OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 28 matching lines...) Expand all Loading... |
39 typedef TextureMapperPlatformLayer PlatformLayer; | 39 typedef TextureMapperPlatformLayer PlatformLayer; |
40 }; | 40 }; |
41 #elif PLATFORM(CHROMIUM) | 41 #elif PLATFORM(CHROMIUM) |
42 namespace WebKit { | 42 namespace WebKit { |
43 class WebLayer; | 43 class WebLayer; |
44 } | 44 } |
45 namespace WebCore { | 45 namespace WebCore { |
46 typedef WebKit::WebLayer PlatformLayer; | 46 typedef WebKit::WebLayer PlatformLayer; |
47 } | 47 } |
48 #elif PLATFORM(GTK) | 48 #elif PLATFORM(GTK) |
49 #if USE(TEXTURE_MAPPER_CAIRO) || USE(TEXTURE_MAPPER_GL) | 49 #if USE(TEXTURE_MAPPER_GL) |
50 namespace WebCore { | 50 namespace WebCore { |
51 class TextureMapperPlatformLayer; | 51 class TextureMapperPlatformLayer; |
52 typedef TextureMapperPlatformLayer PlatformLayer; | 52 typedef TextureMapperPlatformLayer PlatformLayer; |
53 }; | 53 }; |
54 #elif USE(CLUTTER) | 54 #elif USE(CLUTTER) |
55 typedef struct _ClutterActor ClutterActor; | 55 typedef struct _ClutterActor ClutterActor; |
56 namespace WebCore { | 56 namespace WebCore { |
57 typedef ClutterActor PlatformLayer; | 57 typedef ClutterActor PlatformLayer; |
58 }; | 58 }; |
59 #endif | 59 #endif |
60 #elif PLATFORM(EFL) | 60 #elif PLATFORM(EFL) |
61 #if USE(TEXTURE_MAPPER) | 61 #if USE(TEXTURE_MAPPER) |
62 namespace WebCore { | 62 namespace WebCore { |
63 class TextureMapperPlatformLayer; | 63 class TextureMapperPlatformLayer; |
64 typedef TextureMapperPlatformLayer PlatformLayer; | 64 typedef TextureMapperPlatformLayer PlatformLayer; |
65 }; | 65 }; |
66 #endif | 66 #endif |
67 #elif PLATFORM(BLACKBERRY) | 67 #elif PLATFORM(BLACKBERRY) |
68 namespace WebCore { | 68 namespace WebCore { |
69 class LayerWebKitThread; | 69 class LayerWebKitThread; |
70 typedef LayerWebKitThread PlatformLayer; | 70 typedef LayerWebKitThread PlatformLayer; |
71 } | 71 } |
72 #else | 72 #else |
73 typedef void* PlatformLayer; | 73 typedef void* PlatformLayer; |
74 #endif | 74 #endif |
75 | 75 |
76 #endif // USE(ACCELERATED_COMPOSITING) | 76 #endif // USE(ACCELERATED_COMPOSITING) |
77 | 77 |
78 #endif // PlatformLayer_h | 78 #endif // PlatformLayer_h |
OLD | NEW |