OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2014 Google Inc. All rights reserved. | 3 * Copyright (C) 2014 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 28 matching lines...) Expand all Loading... |
39 class GraphicsLayerUpdater { | 39 class GraphicsLayerUpdater { |
40 public: | 40 public: |
41 GraphicsLayerUpdater(); | 41 GraphicsLayerUpdater(); |
42 ~GraphicsLayerUpdater(); | 42 ~GraphicsLayerUpdater(); |
43 | 43 |
44 enum UpdateType { | 44 enum UpdateType { |
45 DoNotForceUpdate, | 45 DoNotForceUpdate, |
46 ForceUpdate, | 46 ForceUpdate, |
47 }; | 47 }; |
48 | 48 |
49 void updateRecursive(RenderLayer&, UpdateType); | 49 void update(RenderLayer&, UpdateType); |
50 void rebuildTree(RenderLayer&, UpdateType, GraphicsLayerVector& childLayersO
fEnclosingLayer); | 50 void rebuildTree(RenderLayer&, GraphicsLayerVector& childLayersOfEnclosingLa
yer); |
51 | |
52 private: | |
53 UpdateType update(RenderLayer&, UpdateType); | |
54 }; | 51 }; |
55 | 52 |
56 } // namespace WebCore | 53 } // namespace WebCore |
57 | 54 |
58 #endif // GraphicsLayerUpdater_h | 55 #endif // GraphicsLayerUpdater_h |
OLD | NEW |