Make OnCapturePageDone static

This commit is contained in:
Kevin Sawicki 2016-07-06 09:32:58 -07:00
parent c2ecc49be2
commit b900ff93e4
2 changed files with 8 additions and 17 deletions

View file

@ -163,11 +163,6 @@ class WebContents : public mate::TrackableObject<WebContents>,
const std::string& frame_name,
WindowOpenDisposition disposition);
// Called when CapturePage is done.
void OnCapturePageDone(base::Callback<void(const gfx::Image&)>,
const SkBitmap& bitmap,
content::ReadbackResponse response);
// Returns the web preferences of current WebContents.
v8::Local<v8::Value> GetWebPreferences(v8::Isolate* isolate);