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

Unified Diff: content/renderer/render_view_impl.h

Issue 190693002: Migrate Telemetry from beginWindowSnapshotPNG to Page.captureScreenshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 7d493daee56ffb1963a31ce773ae69a13f391fe7..284210631a81a469f65236d64c30ed686ac07d5c 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -335,13 +335,6 @@ class CONTENT_EXPORT RenderViewImpl
// supported PPAPI plug-ins.
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();
@@ -761,8 +754,7 @@ class CONTENT_EXPORT RenderViewImpl
void OnZoom(PageZoom zoom);
void OnEnableViewSourceMode();
void OnDisownOpener();
- 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)
void OnActivateNearestFindResult(int request_id, float x, float y);
@@ -1180,11 +1172,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