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

Side by Side Diff: cc/ContentLayerChromium.h

Issue 11035020: Renamed LayerChromium::opaque to LayerChromium::contentsOpaque. Having both opaque and opacity on t… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
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 5
6 #ifndef ContentLayerChromium_h 6 #ifndef ContentLayerChromium_h
7 #define ContentLayerChromium_h 7 #define ContentLayerChromium_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
(...skipping 29 matching lines...) Expand all
40 40
41 virtual ~ContentLayerChromium(); 41 virtual ~ContentLayerChromium();
42 42
43 void clearClient() { m_client = 0; } 43 void clearClient() { m_client = 0; }
44 44
45 virtual bool drawsContent() const OVERRIDE; 45 virtual bool drawsContent() const OVERRIDE;
46 virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE; 46 virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE;
47 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend eringStats&) OVERRIDE; 47 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend eringStats&) OVERRIDE;
48 virtual bool needMoreUpdates() OVERRIDE; 48 virtual bool needMoreUpdates() OVERRIDE;
49 49
50 virtual void setOpaque(bool) OVERRIDE; 50 virtual void setContentsOpaque(bool) OVERRIDE;
51 51
52 protected: 52 protected:
53 explicit ContentLayerChromium(ContentLayerChromiumClient*); 53 explicit ContentLayerChromium(ContentLayerChromiumClient*);
54 54
55 55
56 private: 56 private:
57 virtual LayerTextureUpdater* textureUpdater() const OVERRIDE; 57 virtual LayerTextureUpdater* textureUpdater() const OVERRIDE;
58 virtual void createTextureUpdaterIfNeeded() OVERRIDE; 58 virtual void createTextureUpdaterIfNeeded() OVERRIDE;
59 59
60 ContentLayerChromiumClient* m_client; 60 ContentLayerChromiumClient* m_client;
61 RefPtr<LayerTextureUpdater> m_textureUpdater; 61 RefPtr<LayerTextureUpdater> m_textureUpdater;
62 }; 62 };
63 63
64 } 64 }
65 #endif // USE(ACCELERATED_COMPOSITING) 65 #endif // USE(ACCELERATED_COMPOSITING)
66 66
67 #endif 67 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698