| Index: chrome/renderer/chrome_render_view_observer.h
|
| ===================================================================
|
| --- chrome/renderer/chrome_render_view_observer.h (revision 190011)
|
| +++ chrome/renderer/chrome_render_view_observer.h (working copy)
|
| @@ -126,6 +126,7 @@
|
| const string16& jscript,
|
| int id,
|
| bool notify_result);
|
| + void OnCaptureSnapshot();
|
| void OnHandleMessageFromExternalHost(const std::string& message,
|
| const std::string& origin,
|
| const std::string& target);
|
| @@ -149,6 +150,10 @@
|
| // maximum amount kMaxIndexChars will be placed into the given buffer.
|
| void CaptureText(WebKit::WebFrame* frame, string16* contents);
|
|
|
| + // Capture a snapshot of a view. This is used to allow an extension
|
| + // to get a snapshot of a tab using chrome.tabs.captureVisibleTab().
|
| + bool CaptureSnapshot(WebKit::WebView* view, SkBitmap* snapshot);
|
| +
|
| ExternalHostBindings* GetExternalHostBindings();
|
|
|
| // Determines if a host is in the strict security host set.
|
|
|