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

Side by Side Diff: webkit/compositor_bindings/web_io_surface_layer_impl.cc

Issue 11824010: Normalize includes in webkit/compositor_bindings to chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
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 #include "web_io_surface_layer_impl.h" 5 #include "webkit/compositor_bindings/web_io_surface_layer_impl.h"
6 6
7 #include "cc/io_surface_layer.h" 7 #include "cc/io_surface_layer.h"
8 #include "web_layer_impl.h" 8 #include "webkit/compositor_bindings/web_layer_impl.h"
9 9
10 using cc::IOSurfaceLayer; 10 using cc::IOSurfaceLayer;
11 11
12 namespace WebKit { 12 namespace WebKit {
13 13
14 WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl() 14 WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl()
15 : m_layer(new WebLayerImpl(IOSurfaceLayer::create())) 15 : m_layer(new WebLayerImpl(IOSurfaceLayer::create()))
16 { 16 {
17 m_layer->layer()->setIsDrawable(true); 17 m_layer->layer()->setIsDrawable(true);
18 } 18 }
19 19
20 WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl() 20 WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl()
21 { 21 {
22 } 22 }
23 23
24 void WebIOSurfaceLayerImpl::setIOSurfaceProperties(unsigned ioSurfaceId, WebSize size) 24 void WebIOSurfaceLayerImpl::setIOSurfaceProperties(unsigned ioSurfaceId, WebSize size)
25 { 25 {
26 static_cast<IOSurfaceLayer*>(m_layer->layer())->setIOSurfaceProperties(ioSur faceId, size); 26 static_cast<IOSurfaceLayer*>(m_layer->layer())->setIOSurfaceProperties(ioSur faceId, size);
27 } 27 }
28 28
29 WebLayer* WebIOSurfaceLayerImpl::layer() 29 WebLayer* WebIOSurfaceLayerImpl::layer()
30 { 30 {
31 return m_layer.get(); 31 return m_layer.get();
32 } 32 }
33 33
34 } // namespace WebKit 34 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_image_layer_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698