OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 15 matching lines...) Expand all Loading... |
26 bool force_auxiliary_bitmap); | 26 bool force_auxiliary_bitmap); |
27 | 27 |
28 virtual ~SoftwareCanvasHolder() {} | 28 virtual ~SoftwareCanvasHolder() {} |
29 | 29 |
30 // The returned SkCanvas is still owned by this holder. | 30 // The returned SkCanvas is still owned by this holder. |
31 virtual SkCanvas* GetCanvas() = 0; | 31 virtual SkCanvas* GetCanvas() = 0; |
32 }; | 32 }; |
33 | 33 |
34 void RasterHelperSetAwDrawSWFunctionTable(AwDrawSWFunctionTable* table); | 34 void RasterHelperSetAwDrawSWFunctionTable(AwDrawSWFunctionTable* table); |
35 | 35 |
36 bool RegisterJavaBrowserViewRendererHelper(JNIEnv* env); | |
37 | |
38 } // namespace android_webview | 36 } // namespace android_webview |
39 | 37 |
40 #endif // ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ | 38 #endif // ANDROID_WEBVIEW_NATIVE_JAVA_BROWSER_VIEW_RENDERER_HELPER_H_ |
OLD | NEW |