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

Side by Side Diff: cc/scrollbar_layer_impl.h

Issue 11275113: Remove most remaining references to IntRect and FloatRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compositor bindings Created 8 years, 1 month 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/render_surface_unittest.cc ('k') | cc/scrollbar_layer_impl.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 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 CCScrollbarLayerImpl_h 5 #ifndef CCScrollbarLayerImpl_h
6 #define CCScrollbarLayerImpl_h 6 #define CCScrollbarLayerImpl_h
7 7
8 #include "cc/layer_impl.h" 8 #include "cc/layer_impl.h"
9 #include "cc/scrollbar_geometry_fixed_thumb.h" 9 #include "cc/scrollbar_geometry_fixed_thumb.h"
10 #include <public/WebRect.h> 10 #include <public/WebRect.h>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual WebScrollbar::Orientation orientation() const; 70 virtual WebScrollbar::Orientation orientation() const;
71 virtual bool isCustomScrollbar() const; 71 virtual bool isCustomScrollbar() const;
72 72
73 private: 73 private:
74 ScrollbarLayerImpl* m_owner; 74 ScrollbarLayerImpl* m_owner;
75 75
76 }; 76 };
77 77
78 virtual const char* layerTypeAsString() const OVERRIDE; 78 virtual const char* layerTypeAsString() const OVERRIDE;
79 79
80 IntRect scrollbarLayerRectToContentRect(const WebKit::WebRect& layerRect) co nst; 80 gfx::Rect scrollbarLayerRectToContentRect(const gfx::Rect& layerRect) const;
81 81
82 Scrollbar m_scrollbar; 82 Scrollbar m_scrollbar;
83 83
84 ResourceProvider::ResourceId m_backTrackResourceId; 84 ResourceProvider::ResourceId m_backTrackResourceId;
85 ResourceProvider::ResourceId m_foreTrackResourceId; 85 ResourceProvider::ResourceId m_foreTrackResourceId;
86 ResourceProvider::ResourceId m_thumbResourceId; 86 ResourceProvider::ResourceId m_thumbResourceId;
87 87
88 scoped_ptr<ScrollbarGeometryFixedThumb> m_geometry; 88 scoped_ptr<ScrollbarGeometryFixedThumb> m_geometry;
89 89
90 // Data to implement Scrollbar 90 // Data to implement Scrollbar
(...skipping 10 matching lines...) Expand all
101 101
102 bool m_isScrollableAreaActive; 102 bool m_isScrollableAreaActive;
103 bool m_isScrollViewScrollbar; 103 bool m_isScrollViewScrollbar;
104 bool m_enabled; 104 bool m_enabled;
105 bool m_isCustomScrollbar; 105 bool m_isCustomScrollbar;
106 bool m_isOverlayScrollbar; 106 bool m_isOverlayScrollbar;
107 }; 107 };
108 108
109 } 109 }
110 #endif 110 #endif
OLDNEW
« no previous file with comments | « cc/render_surface_unittest.cc ('k') | cc/scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698