| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H |
| 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H |
| 7 | 7 |
| 8 // This interface is used by consumers of the ContentViewRenderView to | 8 // This interface is used by consumers of the ContentViewRenderView to |
| 9 // attach/detach layers. | 9 // attach/detach layers. |
| 10 | 10 |
| 11 namespace WebKit { | 11 namespace blink { |
| 12 class WebLayer; | 12 class WebLayer; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 class ContentViewLayerRenderer { | 17 class ContentViewLayerRenderer { |
| 18 public: | 18 public: |
| 19 virtual void AttachLayer(WebKit::WebLayer* layer) = 0; | 19 virtual void AttachLayer(blink::WebLayer* layer) = 0; |
| 20 virtual void DetachLayer(WebKit::WebLayer* layer) = 0; | 20 virtual void DetachLayer(blink::WebLayer* layer) = 0; |
| 21 | 21 |
| 22 protected: | 22 protected: |
| 23 virtual ~ContentViewLayerRenderer() {} | 23 virtual ~ContentViewLayerRenderer() {} |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace content | 26 } // namespace content |
| 27 | 27 |
| 28 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H | 28 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_LAYER_RENDERER_H |
| OLD | NEW |