| 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 * | 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // Layers ------------------------------------------------------- | 63 // Layers ------------------------------------------------------- |
| 64 | 64 |
| 65 virtual WebLayer* createLayer() { return nullptr; } | 65 virtual WebLayer* createLayer() { return nullptr; } |
| 66 | 66 |
| 67 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
nullptr; } | 67 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return
nullptr; } |
| 68 | 68 |
| 69 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient*) { return nullptr; } | 69 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient*) { return nullptr; } |
| 70 | 70 |
| 71 virtual WebImageLayer* createImageLayer() { return nullptr; } | 71 virtual WebImageLayer* createImageLayer() { return nullptr; } |
| 72 | 72 |
| 73 virtual WebNinePatchLayer* createNinePatchLayer() { return nullptr; } | |
| 74 | |
| 75 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom
ium. | 73 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom
ium. |
| 76 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return nullptr; } | 74 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return nullptr; } |
| 77 | 75 |
| 78 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie
ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) {
return nullptr; } | 76 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie
ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) {
return nullptr; } |
| 79 | 77 |
| 80 // Animation ---------------------------------------------------- | 78 // Animation ---------------------------------------------------- |
| 81 | 79 |
| 82 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation
Curve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId
= 0) { return nullptr; } | 80 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation
Curve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId
= 0) { return nullptr; } |
| 83 | 81 |
| 84 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return nullp
tr; } | 82 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return nullp
tr; } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 99 | 97 |
| 100 virtual WebDisplayItemList* createDisplayItemList() { return nullptr; } | 98 virtual WebDisplayItemList* createDisplayItemList() { return nullptr; } |
| 101 | 99 |
| 102 protected: | 100 protected: |
| 103 virtual ~WebCompositorSupport() { } | 101 virtual ~WebCompositorSupport() { } |
| 104 }; | 102 }; |
| 105 | 103 |
| 106 } | 104 } |
| 107 | 105 |
| 108 #endif // WebCompositorSupport_h | 106 #endif // WebCompositorSupport_h |
| OLD | NEW |