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

Side by Side Diff: cc/ContentLayerChromium.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/ContentLayerChromium.h ('k') | cc/ContentLayerChromiumClient.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 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 #include "config.h" 5 #include "config.h"
6 6
7 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "ContentLayerChromium.h" 9 #include "ContentLayerChromium.h"
10 10
11 #include "BitmapCanvasLayerTextureUpdater.h" 11 #include "BitmapCanvasLayerTextureUpdater.h"
12 #include "BitmapSkPictureCanvasLayerTextureUpdater.h" 12 #include "BitmapSkPictureCanvasLayerTextureUpdater.h"
13 #include "CCLayerTreeHost.h" 13 #include "CCLayerTreeHost.h"
14 #include "CCSettings.h" 14 #include "CCSettings.h"
15 #include "ContentLayerChromiumClient.h" 15 #include "ContentLayerChromiumClient.h"
16 #include "FrameBufferSkPictureCanvasLayerTextureUpdater.h" 16 #include "FrameBufferSkPictureCanvasLayerTextureUpdater.h"
17 #include "LayerPainterChromium.h" 17 #include "LayerPainterChromium.h"
18 #include <public/Platform.h> 18 #include <public/Platform.h>
19 #include <wtf/CurrentTime.h> 19 #include <wtf/CurrentTime.h>
20 20
21 namespace WebCore { 21 namespace cc {
22 22
23 ContentLayerPainter::ContentLayerPainter(ContentLayerChromiumClient* client) 23 ContentLayerPainter::ContentLayerPainter(ContentLayerChromiumClient* client)
24 : m_client(client) 24 : m_client(client)
25 { 25 {
26 } 26 }
27 27
28 PassOwnPtr<ContentLayerPainter> ContentLayerPainter::create(ContentLayerChromium Client* client) 28 PassOwnPtr<ContentLayerPainter> ContentLayerPainter::create(ContentLayerChromium Client* client)
29 { 29 {
30 return adoptPtr(new ContentLayerPainter(client)); 30 return adoptPtr(new ContentLayerPainter(client));
31 } 31 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 void ContentLayerChromium::setOpaque(bool opaque) 100 void ContentLayerChromium::setOpaque(bool opaque)
101 { 101 {
102 LayerChromium::setOpaque(opaque); 102 LayerChromium::setOpaque(opaque);
103 if (m_textureUpdater) 103 if (m_textureUpdater)
104 m_textureUpdater->setOpaque(opaque); 104 m_textureUpdater->setOpaque(opaque);
105 } 105 }
106 106
107 } 107 }
108 #endif // USE(ACCELERATED_COMPOSITING) 108 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/ContentLayerChromium.h ('k') | cc/ContentLayerChromiumClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698