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

Side by Side Diff: cc/scrollbar_layer_impl.cc

Issue 11144034: cc: Remove wtf includes for scrollbar layer classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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/scrollbar_layer_impl.h ('k') | cc/scrollbar_layer_unittest.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 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCScrollbarLayerImpl.h" 7 #include "CCScrollbarLayerImpl.h"
8 8
9 #include "CCQuadSink.h" 9 #include "CCQuadSink.h"
10 #include "CCScrollbarAnimationController.h" 10 #include "CCScrollbarAnimationController.h"
(...skipping 25 matching lines...) Expand all
36 , m_enabled(false) 36 , m_enabled(false)
37 , m_isCustomScrollbar(false) 37 , m_isCustomScrollbar(false)
38 , m_isOverlayScrollbar(false) 38 , m_isOverlayScrollbar(false)
39 { 39 {
40 } 40 }
41 41
42 CCScrollbarLayerImpl::~CCScrollbarLayerImpl() 42 CCScrollbarLayerImpl::~CCScrollbarLayerImpl()
43 { 43 {
44 } 44 }
45 45
46 void CCScrollbarLayerImpl::setScrollbarGeometry(PassOwnPtr<CCScrollbarGeometryFi xedThumb> geometry) 46 void CCScrollbarLayerImpl::setScrollbarGeometry(scoped_ptr<CCScrollbarGeometryFi xedThumb> geometry)
47 { 47 {
48 m_geometry = geometry; 48 m_geometry = geometry.Pass();
49 } 49 }
50 50
51 void CCScrollbarLayerImpl::setScrollbarData(WebScrollbar* scrollbar) 51 void CCScrollbarLayerImpl::setScrollbarData(WebScrollbar* scrollbar)
52 { 52 {
53 m_scrollbarOverlayStyle = scrollbar->scrollbarOverlayStyle(); 53 m_scrollbarOverlayStyle = scrollbar->scrollbarOverlayStyle();
54 m_orientation = scrollbar->orientation(); 54 m_orientation = scrollbar->orientation();
55 m_controlSize = scrollbar->controlSize(); 55 m_controlSize = scrollbar->controlSize();
56 m_pressedPart = scrollbar->pressedPart(); 56 m_pressedPart = scrollbar->pressedPart();
57 m_hoveredPart = scrollbar->hoveredPart(); 57 m_hoveredPart = scrollbar->hoveredPart();
58 m_isScrollableAreaActive = scrollbar->isScrollableAreaActive(); 58 m_isScrollableAreaActive = scrollbar->isScrollableAreaActive();
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 { 193 {
194 return m_owner->m_isCustomScrollbar; 194 return m_owner->m_isCustomScrollbar;
195 } 195 }
196 196
197 const char* CCScrollbarLayerImpl::layerTypeAsString() const 197 const char* CCScrollbarLayerImpl::layerTypeAsString() const
198 { 198 {
199 return "ScrollbarLayer"; 199 return "ScrollbarLayer";
200 } 200 }
201 201
202 } 202 }
OLDNEW
« no previous file with comments | « cc/scrollbar_layer_impl.h ('k') | cc/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698