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 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #ifndef ContentLayerDelegate_h | 25 #ifndef ContentLayerDelegate_h |
26 #define ContentLayerDelegate_h | 26 #define ContentLayerDelegate_h |
27 | 27 |
28 #include "platform/PlatformExport.h" | 28 #include "platform/PlatformExport.h" |
29 #include "platform/geometry/IntSize.h" | 29 #include "platform/geometry/IntSize.h" |
30 #include "public/platform/WebContentLayerClient.h" | 30 #include "public/platform/WebContentLayerClient.h" |
31 #include "wtf/Allocator.h" | 31 #include "wtf/Allocator.h" |
32 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
33 #include "wtf/PassOwnPtr.h" | |
34 | 33 |
35 class SkCanvas; | 34 class SkCanvas; |
36 | 35 |
37 namespace gfx { | 36 namespace gfx { |
38 class Rect; | 37 class Rect; |
39 } | 38 } |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 class IntRect; | 42 class IntRect; |
(...skipping 12 matching lines...) Expand all Loading... |
56 void paintContents(WebDisplayItemList*, WebContentLayerClient::PaintingContr
olSetting = PaintDefaultBehavior) override; | 55 void paintContents(WebDisplayItemList*, WebContentLayerClient::PaintingContr
olSetting = PaintDefaultBehavior) override; |
57 size_t approximateUnsharedMemoryUsage() const override; | 56 size_t approximateUnsharedMemoryUsage() const override; |
58 | 57 |
59 private: | 58 private: |
60 GraphicsLayer* m_graphicsLayer; | 59 GraphicsLayer* m_graphicsLayer; |
61 }; | 60 }; |
62 | 61 |
63 } // namespace blink | 62 } // namespace blink |
64 | 63 |
65 #endif // ContentLayerDelegate_h | 64 #endif // ContentLayerDelegate_h |
OLD | NEW |