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

Side by Side Diff: cc/LayerChromium.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/LayerChromium.h ('k') | cc/LayerPainterChromium.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #include "LayerChromium.h" 8 #include "LayerChromium.h"
9 9
10 #include "CCActiveAnimation.h" 10 #include "CCActiveAnimation.h"
11 #include "CCAnimationEvents.h" 11 #include "CCAnimationEvents.h"
12 #include "CCLayerAnimationController.h" 12 #include "CCLayerAnimationController.h"
13 #include "CCLayerImpl.h" 13 #include "CCLayerImpl.h"
14 #include "CCLayerTreeHost.h" 14 #include "CCLayerTreeHost.h"
15 #include "CCSettings.h" 15 #include "CCSettings.h"
16 #include <public/WebAnimationDelegate.h> 16 #include <public/WebAnimationDelegate.h>
17 #include <public/WebLayerScrollClient.h> 17 #include <public/WebLayerScrollClient.h>
18 #include <public/WebSize.h> 18 #include <public/WebSize.h>
19 19
20 using namespace std; 20 using namespace std;
21 using WebKit::WebTransformationMatrix; 21 using WebKit::WebTransformationMatrix;
22 22
23 namespace WebCore { 23 namespace cc {
24 24
25 static int s_nextLayerId = 1; 25 static int s_nextLayerId = 1;
26 26
27 PassRefPtr<LayerChromium> LayerChromium::create() 27 PassRefPtr<LayerChromium> LayerChromium::create()
28 { 28 {
29 return adoptRef(new LayerChromium()); 29 return adoptRef(new LayerChromium());
30 } 30 }
31 31
32 LayerChromium::LayerChromium() 32 LayerChromium::LayerChromium()
33 : m_needsDisplay(false) 33 : m_needsDisplay(false)
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 return Region(); 721 return Region();
722 } 722 }
723 723
724 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*) 724 void sortLayers(Vector<RefPtr<LayerChromium> >::iterator, Vector<RefPtr<LayerChr omium> >::iterator, void*)
725 { 725 {
726 // Currently we don't use z-order to decide what to paint, so there's no nee d to actually sort LayerChromiums. 726 // Currently we don't use z-order to decide what to paint, so there's no nee d to actually sort LayerChromiums.
727 } 727 }
728 728
729 } 729 }
730 #endif // USE(ACCELERATED_COMPOSITING) 730 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/LayerChromium.h ('k') | cc/LayerPainterChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698