| 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 16 matching lines...) Expand all Loading... |
| 27 #define WebLayerTreeView_h | 27 #define WebLayerTreeView_h |
| 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 | 36 |
| 37 class SkBitmap; | |
| 38 | |
| 39 namespace cc { | 37 namespace cc { |
| 40 class AnimationTimeline; | 38 class AnimationTimeline; |
| 41 } | 39 } |
| 42 | 40 |
| 43 namespace blink { | 41 namespace blink { |
| 44 | 42 |
| 45 class WebCompositeAndReadbackAsyncCallback; | 43 class WebCompositeAndReadbackAsyncCallback; |
| 46 class WebLayer; | 44 class WebLayer; |
| 47 class WebLayoutAndPaintAsyncCallback; | 45 class WebLayoutAndPaintAsyncCallback; |
| 48 struct WebPoint; | 46 struct WebPoint; |
| 49 struct WebSelectionBound; | |
| 50 class WebSelection; | 47 class WebSelection; |
| 51 class WebWidget; | |
| 52 | 48 |
| 53 class WebLayerTreeView { | 49 class WebLayerTreeView { |
| 54 public: | 50 public: |
| 55 virtual ~WebLayerTreeView() {} | 51 virtual ~WebLayerTreeView() {} |
| 56 | 52 |
| 57 // Initialization and lifecycle -------------------------------------- | 53 // Initialization and lifecycle -------------------------------------- |
| 58 | 54 |
| 59 // Sets the root of the tree. The root is set by way of the constructor. | 55 // Sets the root of the tree. The root is set by way of the constructor. |
| 60 virtual void setRootLayer(const WebLayer&) {} | 56 virtual void setRootLayer(const WebLayer&) {} |
| 61 virtual void clearRootLayer() {} | 57 virtual void clearRootLayer() {} |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Toggles the debug borders on layers | 182 // Toggles the debug borders on layers |
| 187 virtual void setShowDebugBorders(bool) {} | 183 virtual void setShowDebugBorders(bool) {} |
| 188 | 184 |
| 189 // Toggles scroll bottleneck rects on the HUD layer | 185 // Toggles scroll bottleneck rects on the HUD layer |
| 190 virtual void setShowScrollBottleneckRects(bool) {} | 186 virtual void setShowScrollBottleneckRects(bool) {} |
| 191 }; | 187 }; |
| 192 | 188 |
| 193 } // namespace blink | 189 } // namespace blink |
| 194 | 190 |
| 195 #endif // WebLayerTreeView_h | 191 #endif // WebLayerTreeView_h |
| OLD | NEW |