Implement android_webview url intercepting.
[chromium-blink-merge.git] / cc / render_surface_filters.h
blobb8cf60e9280a95db0fb49d987d255c7153003bee
1 // Copyright 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.
6 #ifndef CCRenderSurfaceFilters_h
7 #define CCRenderSurfaceFilters_h
9 class GrContext;
10 class SkBitmap;
12 namespace WebKit {
13 class WebFilterOperations;
14 class WebGraphicsContext3D;
17 namespace cc {
18 class FloatSize;
20 class CCRenderSurfaceFilters {
21 public:
22 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned textureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*);
23 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperations& filters);
25 private:
26 CCRenderSurfaceFilters();
30 #endif