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

Side by Side Diff: content/browser/compositor/delegated_frame_host.h

Issue 1263923003: fix typo in DelegatedFrameHost::SwapDelegatedFrame arg name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
6 #define CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
7 7
8 #include "cc/layers/delegated_frame_provider.h" 8 #include "cc/layers/delegated_frame_provider.h"
9 #include "cc/layers/delegated_frame_resource_collection.h" 9 #include "cc/layers/delegated_frame_resource_collection.h"
10 #include "cc/output/copy_output_result.h" 10 #include "cc/output/copy_output_result.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 bool CanCopyToBitmap() const; 119 bool CanCopyToBitmap() const;
120 120
121 // Public interface exposed to RenderWidgetHostView. 121 // Public interface exposed to RenderWidgetHostView.
122 122
123 // Note: |satisfies_sequences| is cleared in calls to this function. 123 // Note: |satisfies_sequences| is cleared in calls to this function.
124 void SwapDelegatedFrame( 124 void SwapDelegatedFrame(
125 uint32 output_surface_id, 125 uint32 output_surface_id,
126 scoped_ptr<cc::DelegatedFrameData> frame_data, 126 scoped_ptr<cc::DelegatedFrameData> frame_data,
127 float frame_device_scale_factor, 127 float frame_device_scale_factor,
128 const std::vector<ui::LatencyInfo>& latency_info, 128 const std::vector<ui::LatencyInfo>& latency_info,
129 std::vector<uint32_t>* satifies_sequences); 129 std::vector<uint32_t>* satisfies_sequences);
130 void WasHidden(); 130 void WasHidden();
131 void WasShown(const ui::LatencyInfo& latency_info); 131 void WasShown(const ui::LatencyInfo& latency_info);
132 void WasResized(); 132 void WasResized();
133 bool HasSavedFrame(); 133 bool HasSavedFrame();
134 gfx::Size GetRequestedRendererSize() const; 134 gfx::Size GetRequestedRendererSize() const;
135 void SetCompositor(ui::Compositor* compositor); 135 void SetCompositor(ui::Compositor* compositor);
136 void ResetCompositor(); 136 void ResetCompositor();
137 void SetVSyncParameters(const base::TimeTicks& timebase, 137 void SetVSyncParameters(const base::TimeTicks& timebase,
138 const base::TimeDelta& interval); 138 const base::TimeDelta& interval);
139 // Note: |src_subset| is specified in DIP dimensions while |output_size| 139 // Note: |src_subset| is specified in DIP dimensions while |output_size|
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 // YUV readback pipeline. 332 // YUV readback pipeline.
333 scoped_ptr<content::ReadbackYUVInterface> 333 scoped_ptr<content::ReadbackYUVInterface>
334 yuv_readback_pipeline_; 334 yuv_readback_pipeline_;
335 335
336 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 336 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
337 }; 337 };
338 338
339 } // namespace content 339 } // namespace content
340 340
341 #endif // CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 341 #endif // CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698