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

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

Issue 286953002: Remove GetViewBoundsWithResizeLock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.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 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 public ui::CompositorVSyncManager::Observer, 70 public ui::CompositorVSyncManager::Observer,
71 public ui::LayerOwnerDelegate, 71 public ui::LayerOwnerDelegate,
72 public ImageTransportFactoryObserver, 72 public ImageTransportFactoryObserver,
73 public DelegatedFrameEvictorClient, 73 public DelegatedFrameEvictorClient,
74 public cc::DelegatedFrameResourceCollectionClient, 74 public cc::DelegatedFrameResourceCollectionClient,
75 public base::SupportsWeakPtr<DelegatedFrameHost> { 75 public base::SupportsWeakPtr<DelegatedFrameHost> {
76 public: 76 public:
77 DelegatedFrameHost(DelegatedFrameHostClient* client); 77 DelegatedFrameHost(DelegatedFrameHostClient* client);
78 virtual ~DelegatedFrameHost(); 78 virtual ~DelegatedFrameHost();
79 79
80 gfx::Rect GetViewBoundsWithResizeLock(const gfx::Rect& bounds) const;
81 bool CanCopyToBitmap() const; 80 bool CanCopyToBitmap() const;
82 81
83 // Public interface exposed to RenderWidgetHostView. 82 // Public interface exposed to RenderWidgetHostView.
84 void SwapDelegatedFrame( 83 void SwapDelegatedFrame(
85 uint32 output_surface_id, 84 uint32 output_surface_id,
86 scoped_ptr<cc::DelegatedFrameData> frame_data, 85 scoped_ptr<cc::DelegatedFrameData> frame_data,
87 float frame_device_scale_factor, 86 float frame_device_scale_factor,
88 const std::vector<ui::LatencyInfo>& latency_info); 87 const std::vector<ui::LatencyInfo>& latency_info);
89 void WasHidden(); 88 void WasHidden();
90 void WasShown(); 89 void WasShown();
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // YUV readback pipeline. 277 // YUV readback pipeline.
279 scoped_ptr<content::ReadbackYUVInterface> 278 scoped_ptr<content::ReadbackYUVInterface>
280 yuv_readback_pipeline_; 279 yuv_readback_pipeline_;
281 280
282 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 281 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
283 }; 282 };
284 283
285 } // namespace content 284 } // namespace content
286 285
287 #endif // CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_ 286 #endif // CONTENT_BROWSER_COMPOSITOR_DELEGATED_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698