1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H
8 // This interface is used by consumers of the ContentViewRenderView to
9 // attach/detach layers.
17 class ContentViewLayerRenderer
{
19 virtual void AttachLayer(WebKit::WebLayer
* layer
) = 0;
20 virtual void DetachLayer(WebKit::WebLayer
* layer
) = 0;
23 virtual ~ContentViewLayerRenderer() {}
26 } // namespace content
28 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H