OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * | 7 * |
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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "WebBrowserControlsState.h" | 29 #include "WebBrowserControlsState.h" |
30 #include "WebColor.h" | 30 #include "WebColor.h" |
31 #include "WebCommon.h" | 31 #include "WebCommon.h" |
32 #include "WebCompositorMutatorClient.h" | 32 #include "WebCompositorMutatorClient.h" |
33 #include "WebEventListenerProperties.h" | 33 #include "WebEventListenerProperties.h" |
34 #include "WebFloatPoint.h" | 34 #include "WebFloatPoint.h" |
35 #include "WebSize.h" | 35 #include "WebSize.h" |
36 #include "cc/surfaces/frame_sink_id.h" | 36 #include "cc/surfaces/frame_sink_id.h" |
37 | 37 |
| 38 #include "third_party/skia/include/core/SkRefCnt.h" |
| 39 |
| 40 class SkImage; |
| 41 |
38 namespace cc { | 42 namespace cc { |
39 class AnimationHost; | 43 class AnimationHost; |
40 } | 44 } |
41 | 45 |
42 namespace blink { | 46 namespace blink { |
43 | 47 |
44 class WebCompositeAndReadbackAsyncCallback; | 48 class WebCompositeAndReadbackAsyncCallback; |
45 class WebLayer; | 49 class WebLayer; |
46 class WebLayoutAndPaintAsyncCallback; | 50 class WebLayoutAndPaintAsyncCallback; |
47 struct WebPoint; | 51 struct WebPoint; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 virtual void setShowFPSCounter(bool) {} | 184 virtual void setShowFPSCounter(bool) {} |
181 | 185 |
182 // Toggles the paint rects in the HUD layer | 186 // Toggles the paint rects in the HUD layer |
183 virtual void setShowPaintRects(bool) {} | 187 virtual void setShowPaintRects(bool) {} |
184 | 188 |
185 // Toggles the debug borders on layers | 189 // Toggles the debug borders on layers |
186 virtual void setShowDebugBorders(bool) {} | 190 virtual void setShowDebugBorders(bool) {} |
187 | 191 |
188 // Toggles scroll bottleneck rects on the HUD layer | 192 // Toggles scroll bottleneck rects on the HUD layer |
189 virtual void setShowScrollBottleneckRects(bool) {} | 193 virtual void setShowScrollBottleneckRects(bool) {} |
| 194 |
| 195 virtual void requestDecode(sk_sp<SkImage> image, |
| 196 const base::Callback<void(bool)>& callback) {} |
190 }; | 197 }; |
191 | 198 |
192 } // namespace blink | 199 } // namespace blink |
193 | 200 |
194 #endif // WebLayerTreeView_h | 201 #endif // WebLayerTreeView_h |
OLD | NEW |