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

Side by Side Diff: cc/output/compositor_frame_sink.cc

Issue 2868473002: Implement aura::Window::CreateCompositorFrameSink() (Closed)
Patch Set: Rebase Created 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "cc/output/compositor_frame_sink.h" 5 #include "cc/output/compositor_frame_sink.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 if (context_provider_.get()) { 71 if (context_provider_.get()) {
72 context_provider_->SetLostContextCallback( 72 context_provider_->SetLostContextCallback(
73 ContextProvider::LostContextCallback()); 73 ContextProvider::LostContextCallback());
74 } 74 }
75 // Destroy the ContextProvider on the bound thread. 75 // Destroy the ContextProvider on the bound thread.
76 context_provider_ = nullptr; 76 context_provider_ = nullptr;
77 client_ = nullptr; 77 client_ = nullptr;
78 } 78 }
79 79
80 SurfaceId CompositorFrameSink::GetSurfaceId() const {
81 return SurfaceId();
82 }
83
80 void CompositorFrameSink::DidLoseCompositorFrameSink() { 84 void CompositorFrameSink::DidLoseCompositorFrameSink() {
81 TRACE_EVENT0("cc", "CompositorFrameSink::DidLoseCompositorFrameSink"); 85 TRACE_EVENT0("cc", "CompositorFrameSink::DidLoseCompositorFrameSink");
82 client_->DidLoseCompositorFrameSink(); 86 client_->DidLoseCompositorFrameSink();
83 } 87 }
84 88
85 } // namespace cc 89 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698