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

Side by Side Diff: ui/aura/window_port_for_shutdown.cc

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix unittests Created 3 years, 6 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
« ui/aura/window.cc ('K') | « ui/aura/window_port_for_shutdown.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "ui/aura/window_port_for_shutdown.h" 5 #include "ui/aura/window_port_for_shutdown.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "cc/output/compositor_frame_sink.h" 8 #include "cc/output/compositor_frame_sink.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 10
(...skipping 30 matching lines...) Expand all
41 const void* key) { 41 const void* key) {
42 return nullptr; 42 return nullptr;
43 } 43 }
44 44
45 void WindowPortForShutdown::OnPropertyChanged( 45 void WindowPortForShutdown::OnPropertyChanged(
46 const void* key, 46 const void* key,
47 int64_t old_value, 47 int64_t old_value,
48 std::unique_ptr<ui::PropertyData> data) {} 48 std::unique_ptr<ui::PropertyData> data) {}
49 49
50 std::unique_ptr<cc::CompositorFrameSink> 50 std::unique_ptr<cc::CompositorFrameSink>
51 WindowPortForShutdown::CreateCompositorFrameSink() { 51 WindowPortForShutdown::CreateCompositorFrameSink(
52 scoped_refptr<cc::ContextProvider> context_provider,
53 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
52 return nullptr; 54 return nullptr;
53 } 55 }
54 56
55 cc::SurfaceId WindowPortForShutdown::GetSurfaceId() const { 57 cc::SurfaceId WindowPortForShutdown::GetSurfaceId() const {
56 return cc::SurfaceId(); 58 return cc::SurfaceId();
57 } 59 }
58 60
59 void WindowPortForShutdown::OnWindowAddedToRootWindow() {} 61 void WindowPortForShutdown::OnWindowAddedToRootWindow() {}
60 62
61 void WindowPortForShutdown::OnWillRemoveWindowFromRootWindow() {} 63 void WindowPortForShutdown::OnWillRemoveWindowFromRootWindow() {}
62 64
63 } // namespace aura 65 } // namespace aura
OLDNEW
« ui/aura/window.cc ('K') | « ui/aura/window_port_for_shutdown.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698