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

Side by Side Diff: cc/IOSurfaceLayerChromium.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/HeadsUpDisplayLayerChromium.cpp ('k') | cc/IOSurfaceLayerChromium.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 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 5
6 #ifndef IOSurfaceLayerChromium_h 6 #ifndef IOSurfaceLayerChromium_h
7 #define IOSurfaceLayerChromium_h 7 #define IOSurfaceLayerChromium_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
11 #include "LayerChromium.h" 11 #include "LayerChromium.h"
12 12
13 namespace WebCore { 13 namespace cc {
14 14
15 class IOSurfaceLayerChromium : public LayerChromium { 15 class IOSurfaceLayerChromium : public LayerChromium {
16 public: 16 public:
17 static PassRefPtr<IOSurfaceLayerChromium> create(); 17 static PassRefPtr<IOSurfaceLayerChromium> create();
18 virtual ~IOSurfaceLayerChromium(); 18 virtual ~IOSurfaceLayerChromium();
19 19
20 void setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize&); 20 void setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize&);
21 21
22 virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE; 22 virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
23 virtual bool drawsContent() const OVERRIDE; 23 virtual bool drawsContent() const OVERRIDE;
24 virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE; 24 virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
25 25
26 protected: 26 protected:
27 IOSurfaceLayerChromium(); 27 IOSurfaceLayerChromium();
28 28
29 private: 29 private:
30 30
31 uint32_t m_ioSurfaceId; 31 uint32_t m_ioSurfaceId;
32 IntSize m_ioSurfaceSize; 32 IntSize m_ioSurfaceSize;
33 }; 33 };
34 34
35 } 35 }
36 #endif // USE(ACCELERATED_COMPOSITING) 36 #endif // USE(ACCELERATED_COMPOSITING)
37 37
38 #endif 38 #endif
OLDNEW
« no previous file with comments | « cc/HeadsUpDisplayLayerChromium.cpp ('k') | cc/IOSurfaceLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698