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

Side by Side Diff: cc/CCScrollbarLayerImpl.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/CCScrollbarLayerImpl.h ('k') | cc/CCSettings.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 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "CCScrollbarLayerImpl.h" 9 #include "CCScrollbarLayerImpl.h"
10 10
11 #include "CCQuadSink.h" 11 #include "CCQuadSink.h"
12 #include "CCScrollbarAnimationController.h" 12 #include "CCScrollbarAnimationController.h"
13 #include "CCTextureDrawQuad.h" 13 #include "CCTextureDrawQuad.h"
14 14
15 using WebKit::WebRect; 15 using WebKit::WebRect;
16 using WebKit::WebScrollbar; 16 using WebKit::WebScrollbar;
17 17
18 namespace WebCore { 18 namespace cc {
19 19
20 PassOwnPtr<CCScrollbarLayerImpl> CCScrollbarLayerImpl::create(int id) 20 PassOwnPtr<CCScrollbarLayerImpl> CCScrollbarLayerImpl::create(int id)
21 { 21 {
22 return adoptPtr(new CCScrollbarLayerImpl(id)); 22 return adoptPtr(new CCScrollbarLayerImpl(id));
23 } 23 }
24 24
25 CCScrollbarLayerImpl::CCScrollbarLayerImpl(int id) 25 CCScrollbarLayerImpl::CCScrollbarLayerImpl(int id)
26 : CCLayerImpl(id) 26 : CCLayerImpl(id)
27 , m_scrollbar(this) 27 , m_scrollbar(this)
28 , m_backTrackResourceId(0) 28 , m_backTrackResourceId(0)
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 return m_owner->m_orientation; 186 return m_owner->m_orientation;
187 } 187 }
188 188
189 bool CCScrollbarLayerImpl::CCScrollbar::isCustomScrollbar() const 189 bool CCScrollbarLayerImpl::CCScrollbar::isCustomScrollbar() const
190 { 190 {
191 return m_owner->m_isCustomScrollbar; 191 return m_owner->m_isCustomScrollbar;
192 } 192 }
193 193
194 } 194 }
195 #endif // USE(ACCELERATED_COMPOSITING) 195 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCScrollbarLayerImpl.h ('k') | cc/CCSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698