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

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

Issue 1991523002: cc : Track ids for which active opacity always wins on property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « cc/layers/painted_scrollbar_layer.cc ('k') | cc/layers/scrollbar_layer_impl_base.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_SCROLLBAR_LAYER_IMPL_BASE_H_ 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_BASE_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_BASE_H_ 6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/input/scrollbar.h" 10 #include "cc/input/scrollbar.h"
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 ScrollbarOrientation orientation() const { return orientation_; } 39 ScrollbarOrientation orientation() const { return orientation_; }
40 bool is_left_side_vertical_scrollbar() { 40 bool is_left_side_vertical_scrollbar() {
41 return is_left_side_vertical_scrollbar_; 41 return is_left_side_vertical_scrollbar_;
42 } 42 }
43 43
44 bool CanScrollOrientation() const; 44 bool CanScrollOrientation() const;
45 45
46 void PushPropertiesTo(LayerImpl* layer) override; 46 void PushPropertiesTo(LayerImpl* layer) override;
47 void DidBecomeActive() override;
48 ScrollbarLayerImplBase* ToScrollbarLayer() override; 47 ScrollbarLayerImplBase* ToScrollbarLayer() override;
49 48
50 // Thumb quad rect in layer space. 49 // Thumb quad rect in layer space.
51 virtual gfx::Rect ComputeThumbQuadRect() const; 50 virtual gfx::Rect ComputeThumbQuadRect() const;
52 51
53 float thumb_thickness_scale_factor() { 52 float thumb_thickness_scale_factor() {
54 return thumb_thickness_scale_factor_; 53 return thumb_thickness_scale_factor_;
55 } 54 }
56 bool SetThumbThicknessScaleFactor(float thumb_thickness_scale_factor); 55 bool SetThumbThicknessScaleFactor(float thumb_thickness_scale_factor);
57 56
(...skipping 29 matching lines...) Expand all
87 float vertical_adjust_; 86 float vertical_adjust_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImplBase); 88 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImplBase);
90 }; 89 };
91 90
92 typedef std::set<ScrollbarLayerImplBase*> ScrollbarSet; 91 typedef std::set<ScrollbarLayerImplBase*> ScrollbarSet;
93 92
94 } // namespace cc 93 } // namespace cc
95 94
96 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_BASE_H_ 95 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_BASE_H_
OLDNEW
« no previous file with comments | « cc/layers/painted_scrollbar_layer.cc ('k') | cc/layers/scrollbar_layer_impl_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698