| 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.
|
|
|