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

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

Issue 153683002: Implement DelegatedFrameResourceCollectionClient::UnusedResourcesAreAvailable for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 void BuffersSwapped(const gpu::Mailbox& mailbox, 251 void BuffersSwapped(const gpu::Mailbox& mailbox,
252 uint32_t output_surface_id, 252 uint32_t output_surface_id,
253 const base::Closure& ack_callback); 253 const base::Closure& ack_callback);
254 254
255 void RunAckCallbacks(); 255 void RunAckCallbacks();
256 256
257 void DestroyDelegatedContent(); 257 void DestroyDelegatedContent();
258 void SwapDelegatedFrame(uint32 output_surface_id, 258 void SwapDelegatedFrame(uint32 output_surface_id,
259 scoped_ptr<cc::DelegatedFrameData> frame_data); 259 scoped_ptr<cc::DelegatedFrameData> frame_data);
260 void SendDelegatedFrameAck(uint32 output_surface_id); 260 void SendDelegatedFrameAck(uint32 output_surface_id);
261 void SendReturnedDelegatedResources(uint32 output_surface_id);
261 262
262 void UpdateContentViewCoreFrameMetadata( 263 void UpdateContentViewCoreFrameMetadata(
263 const cc::CompositorFrameMetadata& frame_metadata); 264 const cc::CompositorFrameMetadata& frame_metadata);
264 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); 265 void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata);
265 void ResetClipping(); 266 void ResetClipping();
266 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); 267 void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size);
267 268
268 void AttachLayers(); 269 void AttachLayers();
269 void RemoveLayers(); 270 void RemoveLayers();
270 271
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 const bool using_synchronous_compositor_; 357 const bool using_synchronous_compositor_;
357 358
358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; 359 scoped_ptr<DelegatedFrameEvictor> frame_evictor_;
359 360
360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
361 }; 362 };
362 363
363 } // namespace content 364 } // namespace content
364 365
365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 366 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698