| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
| 6 #define ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "content/public/renderer/render_view_observer.h" |
| 11 |
| 12 namespace android_webview { |
| 13 |
| 14 // Render process side of AwRenderViewHostExt, this provides cross-process |
| 15 // implementation of miscellaneous WebView functions that we need to poke |
| 16 // WebKit directly to implement (and that aren't needed in the chrome app). |
| 17 class AwRenderViewExt : public content::RenderViewObserver { |
| 18 public: |
| 19 AwRenderViewExt(content::RenderView* render_view); |
| 20 virtual ~AwRenderViewExt(); |
| 21 |
| 22 private: |
| 23 // RenderView::Observer: |
| 24 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 25 |
| 26 void OnDocumentHasImagesRequest(int id); |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
| 29 }; |
| 30 |
| 31 } // namespace android_webview |
| 32 |
| 33 #endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_VIEW_EXT_H_ |
| OLD | NEW |