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

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

Issue 524373003: Scrollbar ThumbLength is not updated when window size is changed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified Variable Name Created 6 years, 3 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_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int clip_layer_id_; 83 int clip_layer_id_;
84 84
85 // Snapshot of properties taken in UpdateThumbAndTrackGeometry and used in 85 // Snapshot of properties taken in UpdateThumbAndTrackGeometry and used in
86 // PushPropertiesTo. 86 // PushPropertiesTo.
87 int thumb_thickness_; 87 int thumb_thickness_;
88 int thumb_length_; 88 int thumb_length_;
89 gfx::Point location_; 89 gfx::Point location_;
90 gfx::Rect track_rect_; 90 gfx::Rect track_rect_;
91 bool is_overlay_; 91 bool is_overlay_;
92 bool has_thumb_; 92 bool has_thumb_;
93 bool cache_has_thumb_;
93 94
94 scoped_ptr<ScopedUIResource> track_resource_; 95 scoped_ptr<ScopedUIResource> track_resource_;
95 scoped_ptr<ScopedUIResource> thumb_resource_; 96 scoped_ptr<ScopedUIResource> thumb_resource_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer); 98 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer);
98 }; 99 };
99 100
100 } // namespace cc 101 } // namespace cc
101 102
102 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ 103 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/painted_scrollbar_layer.cc » ('j') | cc/layers/painted_scrollbar_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698