Honor owner tap-to-click and mouse buttons swap on login screen
[chromium-blink-merge.git] / cc / VideoLayerChromium.cpp
blob7bfee0c6be703bc8fc787c9ca16eba6ab00d683b
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
3 // found in the LICENSE file.
5 #include "config.h"
7 #if USE(ACCELERATED_COMPOSITING)
8 #include "VideoLayerChromium.h"
10 #include "CCVideoLayerImpl.h"
12 namespace WebCore {
14 PassRefPtr<VideoLayerChromium> VideoLayerChromium::create(WebKit::WebVideoFrameProvider* provider)
16 return adoptRef(new VideoLayerChromium(provider));
19 VideoLayerChromium::VideoLayerChromium(WebKit::WebVideoFrameProvider* provider)
20 : LayerChromium()
21 , m_provider(provider)
23 ASSERT(m_provider);
26 VideoLayerChromium::~VideoLayerChromium()
30 PassOwnPtr<CCLayerImpl> VideoLayerChromium::createCCLayerImpl()
32 return CCVideoLayerImpl::create(m_layerId, m_provider);
35 } // namespace WebCore
37 #endif // USE(ACCELERATED_COMPOSITING)