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 "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, | 36 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
37 bool is_new_navigation) OVERRIDE; | 37 bool is_new_navigation) OVERRIDE; |
38 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; | 38 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; |
39 | 39 |
40 void OnDocumentHasImagesRequest(int id); | 40 void OnDocumentHasImagesRequest(int id); |
41 | 41 |
42 void OnDoHitTest(int view_x, int view_y); | 42 void OnDoHitTest(int view_x, int view_y); |
43 | 43 |
44 void OnSetTextZoomLevel(double zoom_level); | 44 void OnSetTextZoomLevel(double zoom_level); |
45 | 45 |
| 46 void OnResetScrollAndScaleState(); |
| 47 |
46 // WebKit::WebPermissionClient implementation. | 48 // WebKit::WebPermissionClient implementation. |
47 virtual bool allowImage(WebKit::WebFrame* frame, | 49 virtual bool allowImage(WebKit::WebFrame* frame, |
48 bool enabledPerSettings, | 50 bool enabledPerSettings, |
49 const WebKit::WebURL& imageURL) OVERRIDE; | 51 const WebKit::WebURL& imageURL) OVERRIDE; |
50 | 52 |
51 bool capture_picture_enabled_; | 53 bool capture_picture_enabled_; |
52 | 54 |
53 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); | 55 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
54 }; | 56 }; |
55 | 57 |
56 } // namespace android_webview | 58 } // namespace android_webview |
57 | 59 |
58 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 60 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
OLD | NEW |