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

Side by Side Diff: cc/scrollbar_geometry_stub.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_geometry_stub.h ('k') | cc/scrollbar_layer.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 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCScrollbarGeometryStub.h" 7 #include "CCScrollbarGeometryStub.h"
8 8
9 using WebKit::WebRect; 9 using WebKit::WebRect;
10 using WebKit::WebScrollbar; 10 using WebKit::WebScrollbar;
11 using WebKit::WebScrollbarThemeGeometry; 11 using WebKit::WebScrollbarThemeGeometry;
12 12
13 namespace cc { 13 namespace cc {
14 14
15 CCScrollbarGeometryStub::CCScrollbarGeometryStub(PassOwnPtr<WebScrollbarThemeGeo metry> geometry) 15 CCScrollbarGeometryStub::CCScrollbarGeometryStub(scoped_ptr<WebScrollbarThemeGeo metry> geometry)
16 : m_geometry(geometry) 16 : m_geometry(geometry.Pass())
17 { 17 {
18 } 18 }
19 19
20 CCScrollbarGeometryStub::~CCScrollbarGeometryStub() 20 CCScrollbarGeometryStub::~CCScrollbarGeometryStub()
21 { 21 {
22 } 22 }
23 23
24 WebScrollbarThemeGeometry* CCScrollbarGeometryStub::clone() const 24 WebScrollbarThemeGeometry* CCScrollbarGeometryStub::clone() const
25 { 25 {
26 return m_geometry->clone(); 26 return m_geometry->clone();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 { 100 {
101 return m_geometry->constrainTrackRectToTrackPieces(scrollbar, rect); 101 return m_geometry->constrainTrackRectToTrackPieces(scrollbar, rect);
102 } 102 }
103 103
104 void CCScrollbarGeometryStub::splitTrack(WebScrollbar* scrollbar, const WebRect& unconstrainedTrackRect, WebRect& beforeThumbRect, WebRect& thumbRect, WebRect& afterThumbRect) 104 void CCScrollbarGeometryStub::splitTrack(WebScrollbar* scrollbar, const WebRect& unconstrainedTrackRect, WebRect& beforeThumbRect, WebRect& thumbRect, WebRect& afterThumbRect)
105 { 105 {
106 m_geometry->splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, t humbRect, afterThumbRect); 106 m_geometry->splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, t humbRect, afterThumbRect);
107 } 107 }
108 108
109 } 109 }
OLDNEW
« no previous file with comments | « cc/scrollbar_geometry_stub.h ('k') | cc/scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698