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

Side by Side Diff: cc/CCLayerImpl.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/CCLayerImpl.h ('k') | cc/CCLayerImplTest.cpp » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "CCLayerImpl.h" 9 #include "CCLayerImpl.h"
10 10
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "CCDebugBorderDrawQuad.h" 12 #include "CCDebugBorderDrawQuad.h"
13 #include "CCLayerSorter.h" 13 #include "CCLayerSorter.h"
14 #include "CCMathUtil.h" 14 #include "CCMathUtil.h"
15 #include "CCProxy.h" 15 #include "CCProxy.h"
16 #include "CCQuadSink.h" 16 #include "CCQuadSink.h"
17 #include "CCScrollbarAnimationController.h" 17 #include "CCScrollbarAnimationController.h"
18 #include "TraceEvent.h" 18 #include "TraceEvent.h"
19 19
20 using WebKit::WebTransformationMatrix; 20 using WebKit::WebTransformationMatrix;
21 21
22 namespace WebCore { 22 namespace cc {
23 23
24 CCLayerImpl::CCLayerImpl(int id) 24 CCLayerImpl::CCLayerImpl(int id)
25 : m_parent(0) 25 : m_parent(0)
26 , m_maskLayerId(-1) 26 , m_maskLayerId(-1)
27 , m_replicaLayerId(-1) 27 , m_replicaLayerId(-1)
28 , m_layerId(id) 28 , m_layerId(id)
29 , m_layerTreeHostImpl(0) 29 , m_layerTreeHostImpl(0)
30 , m_anchorPoint(0.5, 0.5) 30 , m_anchorPoint(0.5, 0.5)
31 , m_anchorPointZ(0) 31 , m_anchorPointZ(0)
32 , m_scrollable(false) 32 , m_scrollable(false)
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 if (!m_scrollbarAnimationController) 619 if (!m_scrollbarAnimationController)
620 m_scrollbarAnimationController = CCScrollbarAnimationController::create( this); 620 m_scrollbarAnimationController = CCScrollbarAnimationController::create( this);
621 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); 621 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer);
622 m_scrollbarAnimationController->updateScrollOffset(this); 622 m_scrollbarAnimationController->updateScrollOffset(this);
623 } 623 }
624 624
625 } 625 }
626 626
627 627
628 #endif // USE(ACCELERATED_COMPOSITING) 628 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCLayerImpl.h ('k') | cc/CCLayerImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698