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

Side by Side Diff: cc/trees/remote_channel_impl.h

Issue 1965843002: Revert of Changed Blimp client to start with white screen before drawing contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CC_TREES_REMOTE_CHANNEL_IMPL_H_ 5 #ifndef CC_TREES_REMOTE_CHANNEL_IMPL_H_
6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_ 6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 bool success, 180 bool success,
181 const RendererCapabilities& capabilities) override; 181 const RendererCapabilities& capabilities) override;
182 void DidCompletePageScaleAnimation() override; 182 void DidCompletePageScaleAnimation() override;
183 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState> 183 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
184 begin_main_frame_state) override; 184 begin_main_frame_state) override;
185 185
186 void SendMessageProto(std::unique_ptr<proto::CompositorMessage> proto); 186 void SendMessageProto(std::unique_ptr<proto::CompositorMessage> proto);
187 187
188 // called on main thread. 188 // called on main thread.
189 void HandleProto(const proto::CompositorMessageToImpl& proto); 189 void HandleProto(const proto::CompositorMessageToImpl& proto);
190 void DidCompleteSwapBuffersOnMain();
191 void DidLoseOutputSurfaceOnMain(); 190 void DidLoseOutputSurfaceOnMain();
192 void RequestNewOutputSurfaceOnMain(); 191 void RequestNewOutputSurfaceOnMain();
193 void DidInitializeOutputSurfaceOnMain( 192 void DidInitializeOutputSurfaceOnMain(
194 bool success, 193 bool success,
195 const RendererCapabilities& capabilities); 194 const RendererCapabilities& capabilities);
196 void SendMessageProtoOnMain(std::unique_ptr<proto::CompositorMessage> proto); 195 void SendMessageProtoOnMain(std::unique_ptr<proto::CompositorMessage> proto);
197 void PostSetNeedsRedrawToImpl(const gfx::Rect& damaged_rect); 196 void PostSetNeedsRedrawToImpl(const gfx::Rect& damaged_rect);
198 197
199 void InitializeImplOnImpl(CompletionEvent* completion, 198 void InitializeImplOnImpl(CompletionEvent* completion,
200 LayerTreeHost* layer_tree_host); 199 LayerTreeHost* layer_tree_host);
(...skipping 14 matching lines...) Expand all
215 CompositorThreadOnly compositor_thread_vars_unsafe_; 214 CompositorThreadOnly compositor_thread_vars_unsafe_;
216 215
217 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 216 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); 218 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl);
220 }; 219 };
221 220
222 } // namespace cc 221 } // namespace cc
223 222
224 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ 223 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_
OLDNEW
« no previous file with comments | « blimp/client/feature/compositor/blimp_compositor_unittest.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698