| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 return nullptr; | 59 return nullptr; |
| 60 } | 60 } |
| 61 | 61 |
| 62 virtual WebExternalTextureLayer* createExternalTextureLayer( | 62 virtual WebExternalTextureLayer* createExternalTextureLayer( |
| 63 cc::TextureLayerClient*) { | 63 cc::TextureLayerClient*) { |
| 64 return nullptr; | 64 return nullptr; |
| 65 } | 65 } |
| 66 | 66 |
| 67 virtual WebImageLayer* createImageLayer() { return nullptr; } | 67 virtual WebImageLayer* createImageLayer() { return nullptr; } |
| 68 | 68 |
| 69 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chromiu
m. | 69 // The ownership of the WebScrollbarThemeGeometry pointer is passed to |
| 70 // Chromium. |
| 70 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, | 71 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, |
| 71 WebScrollbarThemePainter, | 72 WebScrollbarThemePainter, |
| 72 WebScrollbarThemeGeometry*) { | 73 WebScrollbarThemeGeometry*) { |
| 73 return nullptr; | 74 return nullptr; |
| 74 } | 75 } |
| 75 | 76 |
| 76 virtual WebScrollbarLayer* createSolidColorScrollbarLayer( | 77 virtual WebScrollbarLayer* createSolidColorScrollbarLayer( |
| 77 WebScrollbar::Orientation, | 78 WebScrollbar::Orientation, |
| 78 int thumbThickness, | 79 int thumbThickness, |
| 79 int trackStart, | 80 int trackStart, |
| 80 bool isLeftSideVerticalScrollbar) { | 81 bool isLeftSideVerticalScrollbar) { |
| 81 return nullptr; | 82 return nullptr; |
| 82 } | 83 } |
| 83 | 84 |
| 84 protected: | 85 protected: |
| 85 virtual ~WebCompositorSupport() {} | 86 virtual ~WebCompositorSupport() {} |
| 86 }; | 87 }; |
| 87 } | 88 } |
| 88 | 89 |
| 89 #endif // WebCompositorSupport_h | 90 #endif // WebCompositorSupport_h |
| OLD | NEW |