[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / content / public / browser / android / content_view_layer_renderer.h
blob2911bb4f948311c34652dabd177855c8e51d420c
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.
11 namespace blink {
12 class WebLayer;
15 namespace content {
17 class ContentViewLayerRenderer {
18 public:
19 virtual void AttachLayer(blink::WebLayer* layer) = 0;
20 virtual void DetachLayer(blink::WebLayer* layer) = 0;
22 protected:
23 virtual ~ContentViewLayerRenderer() {}
26 } // namespace content
28 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H_