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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 1cc9e02a5d0537607c828842cc3585af5f7fb771..cb1ba7eef8ec01c9f03567f1c4f1fd67754ba301 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -141,11 +141,6 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
void UpdateVisibility();
- void CopyFromCompositingSurface(
- gfx::Rect src_subrect,
- gfx::Size dst_size,
- const base::Callback<void(bool, const SkBitmap&)>& callback);
-
BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
// WebContentsObserver implementation.
@@ -227,13 +222,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
bool InAutoSizeBounds(const gfx::Size& size) const;
// Message handlers for messages from embedder.
-
void OnCompositorFrameSwappedACK(
int instance_id,
const FrameHostMsg_CompositorFrameSwappedACK_Params& params);
- void OnCopyFromCompositingSurfaceAck(int instance_id,
- int request_id,
- const SkBitmap& bitmap);
+
// Handles drag events from the embedder.
// When dragging, the drag events go to the embedder first, and if the drag
// happens on the browser plugin, then the plugin sends a corresponding
@@ -348,13 +340,6 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
// Whether the browser plugin is inside a plugin document.
bool is_full_page_plugin_;
- // Each copy-request is identified by a unique number. The unique number is
- // used to keep track of the right callback.
- int copy_request_id_;
- typedef base::Callback<void(bool, const SkBitmap&)> CopyRequestCallback;
- typedef std::map<int, const CopyRequestCallback> CopyRequestMap;
- CopyRequestMap copy_request_callbacks_;
-
// Indicates that this BrowserPluginGuest has associated renderer-side state.
// This is used to determine whether or not to create a new RenderView when
// this guest is attached. A BrowserPluginGuest would have renderer-side state
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698