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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 WebContentLayerClient*) = 0; | 61 WebContentLayerClient*) = 0; |
62 | 62 |
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>, | 71 std::unique_ptr<WebScrollbarThemeGeometry>) = 0; |
72 WebLayer* scrollLayer) = 0; | |
73 | 72 |
74 virtual std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer( | 73 virtual std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer( |
75 std::unique_ptr<WebScrollbar>, | 74 std::unique_ptr<WebScrollbar>, |
76 WebScrollbarThemePainter, | 75 WebScrollbarThemePainter, |
77 std::unique_ptr<WebScrollbarThemeGeometry>, | 76 std::unique_ptr<WebScrollbarThemeGeometry>) = 0; |
78 WebLayer* scrollLayer) = 0; | |
79 | 77 |
80 virtual std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( | 78 virtual std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer( |
81 WebScrollbar::Orientation, | 79 WebScrollbar::Orientation, |
82 int thumbThickness, | 80 int thumbThickness, |
83 int trackStart, | 81 int trackStart, |
84 bool isLeftSideVerticalScrollbar, | 82 bool isLeftSideVerticalScrollbar) = 0; |
85 WebLayer* scrollLayer) = 0; | |
86 | 83 |
87 protected: | 84 protected: |
88 virtual ~WebCompositorSupport() {} | 85 virtual ~WebCompositorSupport() {} |
89 }; | 86 }; |
90 } | 87 } |
91 | 88 |
92 #endif // WebCompositorSupport_h | 89 #endif // WebCompositorSupport_h |
OLD | NEW |