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

Side by Side Diff: content/renderer/child_frame_compositing_helper.h

Issue 1229413003: DelegatedFrameHost should handle satisfied sequences in frame metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment stating that |satifies_sequences| is cleared on call to SwapDelegatedFrame. Created 5 years, 5 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_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 5 #ifndef CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 FrameHostMsg_CompositorFrameSwappedACK_Params& params); 103 FrameHostMsg_CompositorFrameSwappedACK_Params& params);
104 void SendReclaimCompositorResourcesToBrowser( 104 void SendReclaimCompositorResourcesToBrowser(
105 FrameHostMsg_ReclaimCompositorResources_Params& params); 105 FrameHostMsg_ReclaimCompositorResources_Params& params);
106 void CheckSizeAndAdjustLayerProperties(const gfx::Size& new_size, 106 void CheckSizeAndAdjustLayerProperties(const gfx::Size& new_size,
107 float device_scale_factor, 107 float device_scale_factor,
108 cc::Layer* layer); 108 cc::Layer* layer);
109 void SendReturnedDelegatedResources(); 109 void SendReturnedDelegatedResources();
110 static void SatisfyCallback(scoped_refptr<ThreadSafeSender> sender, 110 static void SatisfyCallback(scoped_refptr<ThreadSafeSender> sender,
111 int host_routing_id, 111 int host_routing_id,
112 cc::SurfaceSequence sequence); 112 cc::SurfaceSequence sequence);
113 static void SatisfyCallbackBrowserPlugin(
114 scoped_refptr<ThreadSafeSender> sender,
115 int host_routing_id,
116 int browser_plugin_instance_id,
117 cc::SurfaceSequence sequence);
113 static void RequireCallback(scoped_refptr<ThreadSafeSender> sender, 118 static void RequireCallback(scoped_refptr<ThreadSafeSender> sender,
114 int host_routing_id, 119 int host_routing_id,
115 cc::SurfaceId id, 120 cc::SurfaceId id,
116 cc::SurfaceSequence sequence); 121 cc::SurfaceSequence sequence);
117 static void RequireCallbackBrowserPlugin( 122 static void RequireCallbackBrowserPlugin(
118 scoped_refptr<ThreadSafeSender> sender, 123 scoped_refptr<ThreadSafeSender> sender,
119 int host_routing_id, 124 int host_routing_id,
120 int browser_plugin_instance_id, 125 int browser_plugin_instance_id,
121 cc::SurfaceId id, 126 cc::SurfaceId id,
122 cc::SurfaceSequence sequence); 127 cc::SurfaceSequence sequence);
(...skipping 23 matching lines...) Expand all
146 scoped_refptr<cc::DelegatedRendererLayer> delegated_layer_; 151 scoped_refptr<cc::DelegatedRendererLayer> delegated_layer_;
147 scoped_ptr<blink::WebLayer> web_layer_; 152 scoped_ptr<blink::WebLayer> web_layer_;
148 blink::WebFrame* frame_; 153 blink::WebFrame* frame_;
149 154
150 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); 155 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper);
151 }; 156 };
152 157
153 } // namespace content 158 } // namespace content
154 159
155 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 160 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/renderer/child_frame_compositing_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698