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

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

Issue 1841153002: BrowserCompositorMac, ResizeLock, DelegatedFrameHost => content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac Build Created 4 years, 8 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 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_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
6 #define CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "cc/output/copy_output_result.h" 13 #include "cc/output/copy_output_result.h"
14 #include "cc/surfaces/surface_factory_client.h" 14 #include "cc/surfaces/surface_factory_client.h"
15 #include "content/browser/compositor/image_transport_factory.h" 15 #include "content/browser/compositor/image_transport_factory.h"
16 #include "content/browser/compositor/owned_mailbox.h" 16 #include "content/browser/compositor/owned_mailbox.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 NO_PENDING_RENDERER_FRAME, 297 NO_PENDING_RENDERER_FRAME,
298 // No. We've got a frame, but it hasn't been committed. 298 // No. We've got a frame, but it hasn't been committed.
299 NO_PENDING_COMMIT, 299 NO_PENDING_COMMIT,
300 }; 300 };
301 CanLockCompositorState can_lock_compositor_; 301 CanLockCompositorState can_lock_compositor_;
302 302
303 base::TimeTicks last_draw_ended_; 303 base::TimeTicks last_draw_ended_;
304 304
305 // Subscriber that listens to frame presentation events. 305 // Subscriber that listens to frame presentation events.
306 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; 306 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
307 std::vector<scoped_refptr<OwnedMailbox> > idle_frame_subscriber_textures_; 307 std::vector<scoped_refptr<OwnedMailbox>> idle_frame_subscriber_textures_;
308 308
309 // Callback used to pass the output request to the layer or to a function 309 // Callback used to pass the output request to the layer or to a function
310 // specified by a test. 310 // specified by a test.
311 base::Callback<void(scoped_ptr<cc::CopyOutputRequest>)> 311 base::Callback<void(scoped_ptr<cc::CopyOutputRequest>)>
312 request_copy_of_output_callback_for_testing_; 312 request_copy_of_output_callback_for_testing_;
313 313
314 // YUV readback pipeline. 314 // YUV readback pipeline.
315 scoped_ptr<content::ReadbackYUVInterface> 315 scoped_ptr<content::ReadbackYUVInterface> yuv_readback_pipeline_;
316 yuv_readback_pipeline_;
317 316
318 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 317 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
319 318
320 cc::BeginFrameSource* begin_frame_source_; 319 cc::BeginFrameSource* begin_frame_source_;
321 }; 320 };
322 321
323 } // namespace content 322 } // namespace content
324 323
325 #endif // CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 324 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_resize_lock_aura.h ('k') | content/browser/renderer_host/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698