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 virtual std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( | 63 virtual std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( |
64 cc::TextureLayerClient*) = 0; | 64 cc::TextureLayerClient*) = 0; |
65 | 65 |
66 virtual std::unique_ptr<WebImageLayer> createImageLayer() = 0; | 66 virtual std::unique_ptr<WebImageLayer> createImageLayer() = 0; |
67 | 67 |
68 virtual std::unique_ptr<WebScrollbarLayer> createScrollbarLayer( | 68 virtual std::unique_ptr<WebScrollbarLayer> createScrollbarLayer( |
69 std::unique_ptr<WebScrollbar>, | 69 std::unique_ptr<WebScrollbar>, |
70 WebScrollbarThemePainter, | 70 WebScrollbarThemePainter, |
71 std::unique_ptr<WebScrollbarThemeGeometry>) = 0; | 71 std::unique_ptr<WebScrollbarThemeGeometry>) = 0; |
72 | 72 |
| 73 virtual std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer( |
| 74 std::unique_ptr<WebScrollbar>, |
| 75 WebScrollbarThemePainter, |
| 76 std::unique_ptr<WebScrollbarThemeGeometry>) = 0; |
| 77 |
73 virtual std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( | 78 virtual std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( |
74 WebScrollbar::Orientation, | 79 WebScrollbar::Orientation, |
75 int thumbThickness, | 80 int thumbThickness, |
76 int trackStart, | 81 int trackStart, |
77 bool isLeftSideVerticalScrollbar) = 0; | 82 bool isLeftSideVerticalScrollbar) = 0; |
78 | 83 |
79 protected: | 84 protected: |
80 virtual ~WebCompositorSupport() {} | 85 virtual ~WebCompositorSupport() {} |
81 }; | 86 }; |
82 } | 87 } |
83 | 88 |
84 #endif // WebCompositorSupport_h | 89 #endif // WebCompositorSupport_h |
OLD | NEW |