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

Side by Side Diff: cc/CCLayerTreeHost.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/CCLayerTreeHost.h ('k') | cc/CCLayerTreeHostClient.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 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 #include "CCLayerTreeHost.h" 7 #include "CCLayerTreeHost.h"
8 8
9 #include "CCFontAtlas.h" 9 #include "CCFontAtlas.h"
10 #include "CCGraphicsContext.h" 10 #include "CCGraphicsContext.h"
(...skipping 14 matching lines...) Expand all
25 #include "TraceEvent.h" 25 #include "TraceEvent.h"
26 #include "TreeSynchronizer.h" 26 #include "TreeSynchronizer.h"
27 27
28 using namespace std; 28 using namespace std;
29 using WebKit::WebTransformationMatrix; 29 using WebKit::WebTransformationMatrix;
30 30
31 namespace { 31 namespace {
32 static int numLayerTreeInstances; 32 static int numLayerTreeInstances;
33 } 33 }
34 34
35 namespace WebCore { 35 namespace cc {
36 36
37 bool CCLayerTreeHost::s_needsFilterContext = false; 37 bool CCLayerTreeHost::s_needsFilterContext = false;
38 38
39 bool CCLayerTreeHost::anyLayerTreeHostInstanceExists() 39 bool CCLayerTreeHost::anyLayerTreeHostInstanceExists()
40 { 40 {
41 return numLayerTreeInstances > 0; 41 return numLayerTreeInstances > 0;
42 } 42 }
43 43
44 PassOwnPtr<CCLayerTreeHost> CCLayerTreeHost::create(CCLayerTreeHostClient* clien t, const CCLayerTreeSettings& settings) 44 PassOwnPtr<CCLayerTreeHost> CCLayerTreeHost::create(CCLayerTreeHostClient* clien t, const CCLayerTreeSettings& settings)
45 { 45 {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 layer->notifyAnimationStarted(events[eventIndex], wallClockTime) ; 778 layer->notifyAnimationStarted(events[eventIndex], wallClockTime) ;
779 else 779 else
780 layer->notifyAnimationFinished(wallClockTime); 780 layer->notifyAnimationFinished(wallClockTime);
781 } 781 }
782 } 782 }
783 783
784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
786 } 786 }
787 787
788 } // namespace WebCore 788 } // namespace cc
OLDNEW
« no previous file with comments | « cc/CCLayerTreeHost.h ('k') | cc/CCLayerTreeHostClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698