Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: cc/scrollbar_layer.h

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/scoped_texture_unittest.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/scoped_texture_unittest.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698