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

Unified Diff: content/renderer/render_view_impl.h

Issue 914183002: Remove window.chrome.gpuBenchmarking.beginWindowSnapshotPNG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 months 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 | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index d07710f1e4001ac806f5f450f85db38996907145..7890744384a9b1f3d6ba99a23fbb7aff4b16228a 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -287,13 +287,6 @@ class CONTENT_EXPORT RenderViewImpl
// supported PPAPI plugins.
bool HasIMETextFocus();
- // Callback for use with GetWindowSnapshot.
- typedef base::Callback<void(
- const gfx::Size&, const std::vector<unsigned char>&)>
- WindowSnapshotCallback;
-
- void GetWindowSnapshot(const WindowSnapshotCallback& callback);
-
// Dispatches the current navigation state to the browser. Called on a
// periodic timer so we don't send too many messages.
void SyncNavigationState();
@@ -685,8 +678,6 @@ class CONTENT_EXPORT RenderViewImpl
void OnResetPageScale();
void OnZoom(PageZoom zoom);
void OnEnableViewSourceMode();
- void OnWindowSnapshotCompleted(const int snapshot_id,
- const gfx::Size& size, const std::vector<unsigned char>& png);
void OnForceRedraw(int request_id);
void OnSelectWordAroundCaret();
#if defined(OS_ANDROID)
@@ -1026,11 +1017,6 @@ class CONTENT_EXPORT RenderViewImpl
// Wraps the |webwidget_| as a MouseLockDispatcher::LockTarget interface.
scoped_ptr<MouseLockDispatcher::LockTarget> webwidget_mouse_lock_target_;
- // State associated with the GetWindowSnapshot function.
- int next_snapshot_id_;
- typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap;
- PendingSnapshotMap pending_snapshots_;
-
// This field stores drag/drop related info for the event that is currently
// being handled. If the current event results in starting a drag/drop
// session, this info is sent to the browser along with other drag/drop info.
« no previous file with comments | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698