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

Unified Diff: extensions/browser/api/web_view/web_view_internal_api.h

Issue 690263003: <webview>: Remove broken captureVisibleRegion code until feature is properly supported (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
Index: extensions/browser/api/web_view/web_view_internal_api.h
diff --git a/extensions/browser/api/web_view/web_view_internal_api.h b/extensions/browser/api/web_view/web_view_internal_api.h
index 7aebf6303dd0943e4aee9f279e6f38865f98e31f..ad66ed28ba97af15cdfa76cdc844bc8f44d8b102 100644
--- a/extensions/browser/api/web_view/web_view_internal_api.h
+++ b/extensions/browser/api/web_view/web_view_internal_api.h
@@ -115,25 +115,6 @@ class WebViewInternalInsertCSSFunction
DISALLOW_COPY_AND_ASSIGN(WebViewInternalInsertCSSFunction);
};
-class WebViewInternalCaptureVisibleRegionFunction
- : public extensions::CaptureWebContentsFunction {
- DECLARE_EXTENSION_FUNCTION("webViewInternal.captureVisibleRegion",
- WEBVIEWINTERNAL_CAPTUREVISIBLEREGION);
-
- WebViewInternalCaptureVisibleRegionFunction();
-
- protected:
- ~WebViewInternalCaptureVisibleRegionFunction() override;
-
- private:
- // extensions::CaptureWebContentsFunction implementation.
- bool IsScreenshotEnabled() override;
- content::WebContents* GetWebContentsForID(int id) override;
- void OnCaptureFailure(FailureReason reason) override;
-
- DISALLOW_COPY_AND_ASSIGN(WebViewInternalCaptureVisibleRegionFunction);
-};
-
class WebViewInternalSetNameFunction : public WebViewInternalExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("webViewInternal.setName",
« no previous file with comments | « content/renderer/child_frame_compositing_helper.cc ('k') | extensions/browser/api/web_view/web_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698