| 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 20 matching lines...) Expand all Loading... |
| 31 virtual ~AwRenderViewExt(); | 31 virtual ~AwRenderViewExt(); |
| 32 | 32 |
| 33 // RenderView::Observer: | 33 // RenderView::Observer: |
| 34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 35 | 35 |
| 36 void OnDocumentHasImagesRequest(int id); | 36 void OnDocumentHasImagesRequest(int id); |
| 37 | 37 |
| 38 // WebKit::WebPermissionClient implementation. | 38 // WebKit::WebPermissionClient implementation. |
| 39 virtual bool allowImage(WebKit::WebFrame* frame, | 39 virtual bool allowImage(WebKit::WebFrame* frame, |
| 40 bool enabledPerSettings, | 40 bool enabledPerSettings, |
| 41 const WebKit::WebURL& imageURL); | 41 const WebKit::WebURL& imageURL) OVERRIDE; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); | 43 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace android_webview | 46 } // namespace android_webview |
| 47 | 47 |
| 48 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ | 48 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
| OLD | NEW |