blob: 2911bb4f948311c34652dabd177855c8e51d420c [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_
#define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_
// This interface is used by consumers of the ContentViewRenderView to
// attach/detach layers.
namespace blink {
class WebLayer;
}
namespace content {
class ContentViewLayerRenderer {
public:
virtual void AttachLayer(blink::WebLayer* layer) = 0;
virtual void DetachLayer(blink::WebLayer* layer) = 0;
protected:
virtual ~ContentViewLayerRenderer() {}
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_