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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 615503004: Remove TextureImageTransportSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOTREACHED -> NOTIMPLEMENTED Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // locked. 392 // locked.
393 bool GotResponseToLockMouseRequest(bool allowed); 393 bool GotResponseToLockMouseRequest(bool allowed);
394 394
395 // Tells the RenderWidget about the latest vsync parameters. 395 // Tells the RenderWidget about the latest vsync parameters.
396 // Note: Make sure the timebase was obtained using 396 // Note: Make sure the timebase was obtained using
397 // base::TimeTicks::HighResNow. Using the non-high res timer will result in 397 // base::TimeTicks::HighResNow. Using the non-high res timer will result in
398 // incorrect synchronization across processes. 398 // incorrect synchronization across processes.
399 virtual void UpdateVSyncParameters(base::TimeTicks timebase, 399 virtual void UpdateVSyncParameters(base::TimeTicks timebase,
400 base::TimeDelta interval); 400 base::TimeDelta interval);
401 401
402 // Called by the view in response to AcceleratedSurfaceBuffersSwapped or
403 // AcceleratedSurfacePostSubBuffer.
404 static void AcknowledgeBufferPresent(
405 int32 route_id,
406 int gpu_host_id,
407 const AcceleratedSurfaceMsg_BufferPresented_Params& params);
408
409 // Called by the view in response to OnSwapCompositorFrame. 402 // Called by the view in response to OnSwapCompositorFrame.
410 static void SendSwapCompositorFrameAck( 403 static void SendSwapCompositorFrameAck(
411 int32 route_id, 404 int32 route_id,
412 uint32 output_surface_id, 405 uint32 output_surface_id,
413 int renderer_host_id, 406 int renderer_host_id,
414 const cc::CompositorFrameAck& ack); 407 const cc::CompositorFrameAck& ack);
415 408
416 // Called by the view to return resources to the compositor. 409 // Called by the view to return resources to the compositor.
417 static void SendReclaimCompositorResources(int32 route_id, 410 static void SendReclaimCompositorResources(int32 route_id,
418 uint32 output_surface_id, 411 uint32 output_surface_id,
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 PendingSnapshotMap pending_browser_snapshots_; 841 PendingSnapshotMap pending_browser_snapshots_;
849 842
850 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
851 844
852 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
853 }; 846 };
854 847
855 } // namespace content 848 } // namespace content
856 849
857 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.h ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698