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

Side by Side Diff: cc/layers/painted_scrollbar_layer.h

Issue 183563003: cc: Clean up OcclusionTracker template parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: occlusionparams: Created 6 years, 9 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/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/painted_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ 5 #ifndef CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_
6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ 6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/input/scrollbar.h" 9 #include "cc/input/scrollbar.h"
10 #include "cc/layers/contents_scaling_layer.h" 10 #include "cc/layers/contents_scaling_layer.h"
(...skipping 20 matching lines...) Expand all
31 31
32 // ScrollbarLayerInterface 32 // ScrollbarLayerInterface
33 virtual int ScrollLayerId() const OVERRIDE; 33 virtual int ScrollLayerId() const OVERRIDE;
34 virtual void SetScrollLayer(int layer_id) OVERRIDE; 34 virtual void SetScrollLayer(int layer_id) OVERRIDE;
35 virtual void SetClipLayer(int layer_id) OVERRIDE; 35 virtual void SetClipLayer(int layer_id) OVERRIDE;
36 36
37 virtual ScrollbarOrientation orientation() const OVERRIDE; 37 virtual ScrollbarOrientation orientation() const OVERRIDE;
38 38
39 // Layer interface 39 // Layer interface
40 virtual bool Update(ResourceUpdateQueue* queue, 40 virtual bool Update(ResourceUpdateQueue* queue,
41 const OcclusionTracker* occlusion) OVERRIDE; 41 const OcclusionTracker<Layer>* occlusion) OVERRIDE;
42 virtual void SetLayerTreeHost(LayerTreeHost* host) OVERRIDE; 42 virtual void SetLayerTreeHost(LayerTreeHost* host) OVERRIDE;
43 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; 43 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
44 virtual void PushScrollClipPropertiesTo(LayerImpl* layer) OVERRIDE; 44 virtual void PushScrollClipPropertiesTo(LayerImpl* layer) OVERRIDE;
45 virtual void CalculateContentsScale(float ideal_contents_scale, 45 virtual void CalculateContentsScale(float ideal_contents_scale,
46 float device_scale_factor, 46 float device_scale_factor,
47 float page_scale_factor, 47 float page_scale_factor,
48 bool animating_transform_to_screen, 48 bool animating_transform_to_screen,
49 float* contents_scale_x, 49 float* contents_scale_x,
50 float* contents_scale_y, 50 float* contents_scale_y,
51 gfx::Size* content_bounds) OVERRIDE; 51 gfx::Size* content_bounds) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 scoped_ptr<ScopedUIResource> track_resource_; 97 scoped_ptr<ScopedUIResource> track_resource_;
98 scoped_ptr<ScopedUIResource> thumb_resource_; 98 scoped_ptr<ScopedUIResource> thumb_resource_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer); 100 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer);
101 }; 101 };
102 102
103 } // namespace cc 103 } // namespace cc
104 104
105 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ 105 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698