OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #ifndef ScrollbarLayerChromium_h | 6 #ifndef ScrollbarLayerChromium_h |
7 #define ScrollbarLayerChromium_h | 7 #define ScrollbarLayerChromium_h |
8 | 8 |
9 #include "LayerChromium.h" | 9 #include "LayerChromium.h" |
10 #include "caching_bitmap_canvas_layer_texture_updater.h" | 10 #include "caching_bitmap_canvas_layer_texture_updater.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 private: | 44 private: |
45 void updatePart(CachingBitmapCanvasLayerTextureUpdater*, LayerTextureUpdater
::Texture*, const IntRect&, CCTextureUpdateQueue&, CCRenderingStats&); | 45 void updatePart(CachingBitmapCanvasLayerTextureUpdater*, LayerTextureUpdater
::Texture*, const IntRect&, CCTextureUpdateQueue&, CCRenderingStats&); |
46 void createTextureUpdaterIfNeeded(); | 46 void createTextureUpdaterIfNeeded(); |
47 | 47 |
48 OwnPtr<WebKit::WebScrollbar> m_scrollbar; | 48 OwnPtr<WebKit::WebScrollbar> m_scrollbar; |
49 WebKit::WebScrollbarThemePainter m_painter; | 49 WebKit::WebScrollbarThemePainter m_painter; |
50 OwnPtr<WebKit::WebScrollbarThemeGeometry> m_geometry; | 50 OwnPtr<WebKit::WebScrollbarThemeGeometry> m_geometry; |
51 int m_scrollLayerId; | 51 int m_scrollLayerId; |
52 | 52 |
53 GC3Denum m_textureFormat; | 53 GLenum m_textureFormat; |
54 | 54 |
55 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_backTrackUpdater; | 55 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_backTrackUpdater; |
56 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_foreTrackUpdater; | 56 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_foreTrackUpdater; |
57 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_thumbUpdater; | 57 RefPtr<CachingBitmapCanvasLayerTextureUpdater> m_thumbUpdater; |
58 | 58 |
59 // All the parts of the scrollbar except the thumb | 59 // All the parts of the scrollbar except the thumb |
60 OwnPtr<LayerTextureUpdater::Texture> m_backTrack; | 60 OwnPtr<LayerTextureUpdater::Texture> m_backTrack; |
61 OwnPtr<LayerTextureUpdater::Texture> m_foreTrack; | 61 OwnPtr<LayerTextureUpdater::Texture> m_foreTrack; |
62 OwnPtr<LayerTextureUpdater::Texture> m_thumb; | 62 OwnPtr<LayerTextureUpdater::Texture> m_thumb; |
63 }; | 63 }; |
64 | 64 |
65 } | 65 } |
66 #endif | 66 #endif |
OLD | NEW |