Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: android_webview/renderer/aw_render_view_ext.h

Issue 10890024: Implement DocuementHasImages (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698