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

Side by Side Diff: services/ui/ws/frame_generator.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 10 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 | « services/ui/surfaces/display_compositor.h ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SERVICES_UI_WS_FRAME_GENERATOR_H_ 5 #ifndef SERVICES_UI_WS_FRAME_GENERATOR_H_
6 #define SERVICES_UI_WS_FRAME_GENERATOR_H_ 6 #define SERVICES_UI_WS_FRAME_GENERATOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // DrawWindow creates SurfaceDrawQuad for the window manager and appends it to 65 // DrawWindow creates SurfaceDrawQuad for the window manager and appends it to
66 // the provided cc::RenderPass. 66 // the provided cc::RenderPass.
67 void DrawWindow(cc::RenderPass* pass); 67 void DrawWindow(cc::RenderPass* pass);
68 68
69 FrameGeneratorDelegate* delegate_; 69 FrameGeneratorDelegate* delegate_;
70 ServerWindow* const root_window_; 70 ServerWindow* const root_window_;
71 float device_scale_factor_ = 1.f; 71 float device_scale_factor_ = 1.f;
72 72
73 gfx::Size last_submitted_frame_size_; 73 gfx::Size last_submitted_frame_size_;
74 cc::LocalFrameId local_frame_id_; 74 cc::LocalSurfaceId local_surface_id_;
75 cc::SurfaceIdAllocator id_allocator_; 75 cc::SurfaceIdAllocator id_allocator_;
76 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_; 76 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_;
77 cc::mojom::DisplayPrivateAssociatedPtr display_private_; 77 cc::mojom::DisplayPrivateAssociatedPtr display_private_;
78 78
79 cc::SurfaceInfo window_manager_surface_info_; 79 cc::SurfaceInfo window_manager_surface_info_;
80 80
81 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> binding_; 81 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> binding_;
82 82
83 base::WeakPtrFactory<FrameGenerator> weak_factory_; 83 base::WeakPtrFactory<FrameGenerator> weak_factory_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(FrameGenerator); 85 DISALLOW_COPY_AND_ASSIGN(FrameGenerator);
86 }; 86 };
87 87
88 } // namespace ws 88 } // namespace ws
89 89
90 } // namespace ui 90 } // namespace ui
91 91
92 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_ 92 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_
OLDNEW
« no previous file with comments | « services/ui/surfaces/display_compositor.h ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698