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 ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; | 41 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; |
42 | 42 |
43 void OnDocumentHasImagesRequest(int id); | 43 void OnDocumentHasImagesRequest(int id); |
44 | 44 |
45 void OnDoHitTest(int view_x, int view_y); | 45 void OnDoHitTest(int view_x, int view_y); |
46 | 46 |
47 void OnEnableCapturePictureCallback(bool enable); | 47 void OnEnableCapturePictureCallback(bool enable); |
48 | 48 |
49 void OnPictureUpdate(skia::RefPtr<SkPicture> picture); | 49 void OnPictureUpdate(skia::RefPtr<SkPicture> picture); |
50 | 50 |
| 51 void OnCapturePictureSync(IPC::Message* reply_msg); |
| 52 |
51 // WebKit::WebPermissionClient implementation. | 53 // WebKit::WebPermissionClient implementation. |
52 virtual bool allowImage(WebKit::WebFrame* frame, | 54 virtual bool allowImage(WebKit::WebFrame* frame, |
53 bool enabledPerSettings, | 55 bool enabledPerSettings, |
54 const WebKit::WebURL& imageURL) OVERRIDE; | 56 const WebKit::WebURL& imageURL) OVERRIDE; |
55 | 57 |
56 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); | 58 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
57 }; | 59 }; |
58 | 60 |
59 } // namespace android_webview | 61 } // namespace android_webview |
60 | 62 |
61 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 63 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
OLD | NEW |