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

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

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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/scrollbar_layer.cc ('k') | cc/layers/scrollbar_layer_impl_base.h » ('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 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/layers/scrollbar_geometry_fixed_thumb.h" 9 #include "cc/layers/scrollbar_geometry_fixed_thumb.h"
10 #include "cc/layers/scrollbar_layer_impl_base.h" 10 #include "cc/layers/scrollbar_layer_impl_base.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const; 93 const;
94 virtual WebScrollbar::ScrollbarControlSize controlSize() const; 94 virtual WebScrollbar::ScrollbarControlSize controlSize() const;
95 virtual WebScrollbar::ScrollbarPart pressedPart() const; 95 virtual WebScrollbar::ScrollbarPart pressedPart() const;
96 virtual WebScrollbar::ScrollbarPart hoveredPart() const; 96 virtual WebScrollbar::ScrollbarPart hoveredPart() const;
97 virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const; 97 virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const;
98 virtual WebScrollbar::Orientation orientation() const; 98 virtual WebScrollbar::Orientation orientation() const;
99 virtual bool isCustomScrollbar() const; 99 virtual bool isCustomScrollbar() const;
100 100
101 private: 101 private:
102 ScrollbarLayerImpl* owner_; 102 ScrollbarLayerImpl* owner_;
103
104 }; 103 };
105 104
106 virtual const char* LayerTypeAsString() const OVERRIDE; 105 virtual const char* LayerTypeAsString() const OVERRIDE;
107 106
108 gfx::Rect ScrollbarLayerRectToContentRect(gfx::RectF layer_rect) const; 107 gfx::Rect ScrollbarLayerRectToContentRect(gfx::RectF layer_rect) const;
109 108
110 Scrollbar scrollbar_; 109 Scrollbar scrollbar_;
111 110
112 ResourceProvider::ResourceId back_track_resource_id_; 111 ResourceProvider::ResourceId back_track_resource_id_;
113 ResourceProvider::ResourceId fore_track_resource_id_; 112 ResourceProvider::ResourceId fore_track_resource_id_;
(...skipping 25 matching lines...) Expand all
139 WebKit::WebScrollbar::ScrollbarPart pressed_part_; 138 WebKit::WebScrollbar::ScrollbarPart pressed_part_;
140 WebKit::WebScrollbar::ScrollbarPart hovered_part_; 139 WebKit::WebScrollbar::ScrollbarPart hovered_part_;
141 140
142 bool is_scrollable_area_active_; 141 bool is_scrollable_area_active_;
143 bool is_scroll_view_scrollbar_; 142 bool is_scroll_view_scrollbar_;
144 bool enabled_; 143 bool enabled_;
145 bool is_custom_scrollbar_; 144 bool is_custom_scrollbar_;
146 bool is_overlay_scrollbar_; 145 bool is_overlay_scrollbar_;
147 }; 146 };
148 147
149 } 148 } // namespace cc
150 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ 149 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/scrollbar_layer.cc ('k') | cc/layers/scrollbar_layer_impl_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698