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

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

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
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_IMPL_H_ 5 #ifndef CC_LAYERS_PAINTED_SCROLLBAR_LAYER_IMPL_H_
6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_IMPL_H_ 6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_IMPL_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/scrollbar_layer_impl_base.h" 10 #include "cc/layers/scrollbar_layer_impl_base.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const char* LayerTypeAsString() const override; 61 const char* LayerTypeAsString() const override;
62 62
63 UIResourceId track_ui_resource_id_; 63 UIResourceId track_ui_resource_id_;
64 UIResourceId thumb_ui_resource_id_; 64 UIResourceId thumb_ui_resource_id_;
65 65
66 int thumb_thickness_; 66 int thumb_thickness_;
67 int thumb_length_; 67 int thumb_length_;
68 int track_start_; 68 int track_start_;
69 int track_length_; 69 int track_length_;
70 70
71 // Difference between the clip layer's height and the visible viewport
72 // height (which may differ in the presence of top-controls hiding).
73 float vertical_adjust_;
74
75 int scroll_layer_id_;
76
77 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayerImpl); 71 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayerImpl);
78 }; 72 };
79 73
80 } // namespace cc 74 } // namespace cc
81 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_IMPL_H_ 75 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698