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

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

Issue 11823027: [Android WebView] Implement the capture picture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding findbugs update from 11825002 to make the trybots happy. Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698