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

Side by Side Diff: cc/CCSingleThreadProxy.h

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/CCSharedQuadState.cpp ('k') | cc/CCSingleThreadProxy.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 #ifndef CCSingleThreadProxy_h 5 #ifndef CCSingleThreadProxy_h
6 #define CCSingleThreadProxy_h 6 #define CCSingleThreadProxy_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCLayerTreeHostImpl.h" 9 #include "CCLayerTreeHostImpl.h"
10 #include "CCProxy.h" 10 #include "CCProxy.h"
11 #include <limits> 11 #include <limits>
12 #include <wtf/OwnPtr.h> 12 #include <wtf/OwnPtr.h>
13 13
14 namespace WebCore { 14 namespace cc {
15 15
16 class CCLayerTreeHost; 16 class CCLayerTreeHost;
17 17
18 class CCSingleThreadProxy : public CCProxy, CCLayerTreeHostImplClient { 18 class CCSingleThreadProxy : public CCProxy, CCLayerTreeHostImplClient {
19 public: 19 public:
20 static PassOwnPtr<CCProxy> create(CCLayerTreeHost*); 20 static PassOwnPtr<CCProxy> create(CCLayerTreeHost*);
21 virtual ~CCSingleThreadProxy(); 21 virtual ~CCSingleThreadProxy();
22 22
23 // CCProxy implementation 23 // CCProxy implementation
24 virtual bool compositeAndReadback(void *pixels, const IntRect&) OVERRIDE; 24 virtual bool compositeAndReadback(void *pixels, const IntRect&) OVERRIDE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // For use in the single-threaded case. In debug builds, it pretends that the 119 // For use in the single-threaded case. In debug builds, it pretends that the
120 // code is running on the impl thread and that the main thread is blocked to 120 // code is running on the impl thread and that the main thread is blocked to
121 // satisfy assertion checks 121 // satisfy assertion checks
122 class DebugScopedSetImplThreadAndMainThreadBlocked { 122 class DebugScopedSetImplThreadAndMainThreadBlocked {
123 private: 123 private:
124 DebugScopedSetImplThread m_implThread; 124 DebugScopedSetImplThread m_implThread;
125 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; 125 DebugScopedSetMainThreadBlocked m_mainThreadBlocked;
126 }; 126 };
127 127
128 } // namespace WebCore 128 } // namespace cc
129 129
130 #endif 130 #endif
OLDNEW
« no previous file with comments | « cc/CCSharedQuadState.cpp ('k') | cc/CCSingleThreadProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698