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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 716053003: [DevTools] Move PNG encoding from UI to worker thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index 3720643befc3b126d95e879beebda6c6e696346b..b95618afea64c8bc0d7a86feaec92d6ec7fdf809 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -90,11 +90,11 @@ class PageHandler {
void NotifyScreencastVisibility(bool visible);
void InnerSwapCompositorFrame();
- void ScreencastFrameCaptured(const std::string& format,
- int quality,
- const cc::CompositorFrameMetadata& metadata,
+ void ScreencastFrameCaptured(const cc::CompositorFrameMetadata& metadata,
const SkBitmap& bitmap,
ReadbackResponse response);
+ void ScreencastFrameEncoded(const cc::CompositorFrameMetadata& metadata,
+ const std::string& data);
void ScreenshotCaptured(
scoped_refptr<DevToolsProtocol::Command> command,
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698