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

Side by Side Diff: cc/HeadsUpDisplayLayerChromium.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/GeometryBinding.cpp ('k') | cc/HeadsUpDisplayLayerChromium.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 HeadsUpDisplayLayerChromium_h 6 #ifndef HeadsUpDisplayLayerChromium_h
7 #define HeadsUpDisplayLayerChromium_h 7 #define HeadsUpDisplayLayerChromium_h
8 8
9 #include "CCFontAtlas.h" 9 #include "CCFontAtlas.h"
10 #include "IntSize.h" 10 #include "IntSize.h"
11 #include "LayerChromium.h" 11 #include "LayerChromium.h"
12 12
13 namespace WebCore { 13 namespace cc {
14 14
15 class HeadsUpDisplayLayerChromium : public LayerChromium { 15 class HeadsUpDisplayLayerChromium : public LayerChromium {
16 public: 16 public:
17 static PassRefPtr<HeadsUpDisplayLayerChromium> create(); 17 static PassRefPtr<HeadsUpDisplayLayerChromium> create();
18 virtual ~HeadsUpDisplayLayerChromium(); 18 virtual ~HeadsUpDisplayLayerChromium();
19 19
20 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend eringStats&) OVERRIDE; 20 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend eringStats&) OVERRIDE;
21 virtual bool drawsContent() const OVERRIDE { return true; } 21 virtual bool drawsContent() const OVERRIDE { return true; }
22 22
23 void setFontAtlas(PassOwnPtr<CCFontAtlas>); 23 void setFontAtlas(PassOwnPtr<CCFontAtlas>);
24 24
25 virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE; 25 virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
26 virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE; 26 virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
27 27
28 protected: 28 protected:
29 HeadsUpDisplayLayerChromium(); 29 HeadsUpDisplayLayerChromium();
30 30
31 private: 31 private:
32 OwnPtr<CCFontAtlas> m_fontAtlas; 32 OwnPtr<CCFontAtlas> m_fontAtlas;
33 }; 33 };
34 34
35 } 35 }
36 #endif 36 #endif
OLDNEW
« no previous file with comments | « cc/GeometryBinding.cpp ('k') | cc/HeadsUpDisplayLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698