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

Side by Side Diff: ui/views/mus/surface_context_factory.h

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (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
« no previous file with comments | « ui/compositor/test/in_process_context_factory.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 5 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 gfx::BufferUsage usage) override; 46 gfx::BufferUsage usage) override;
47 cc::SharedBitmapManager* GetSharedBitmapManager() override; 47 cc::SharedBitmapManager* GetSharedBitmapManager() override;
48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
49 cc::TaskGraphRunner* GetTaskGraphRunner() override; 49 cc::TaskGraphRunner* GetTaskGraphRunner() override;
50 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; 50 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
51 cc::SurfaceManager* GetSurfaceManager() override; 51 cc::SurfaceManager* GetSurfaceManager() override;
52 void ResizeDisplay(ui::Compositor* compositor, 52 void ResizeDisplay(ui::Compositor* compositor,
53 const gfx::Size& size) override; 53 const gfx::Size& size) override;
54 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 54 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
55 base::TimeDelta interval) override {} 55 base::TimeDelta interval) override {}
56 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {}
56 57
57 SurfaceBinding surface_binding_; 58 SurfaceBinding surface_binding_;
58 uint32_t next_surface_id_namespace_; 59 uint32_t next_surface_id_namespace_;
59 gles2::RasterThreadHelper raster_thread_helper_; 60 gles2::RasterThreadHelper raster_thread_helper_;
60 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_; 61 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); 63 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
63 }; 64 };
64 65
65 } // namespace views 66 } // namespace views
66 67
67 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 68 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/compositor/test/in_process_context_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698