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

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

Issue 2385193002: FrameSinkIds use to WindowIds in window server, Process ID/Route ID in renderer (Closed)
Patch Set: Added missing serialization Created 4 years, 2 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/ws/frame_generator_unittest.cc ('k') | services/ui/ws/server_window_surface.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 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 SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_ 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_
6 #define SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_ 6 #define SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 15 matching lines...) Expand all
26 namespace ws { 26 namespace ws {
27 27
28 class ServerWindow; 28 class ServerWindow;
29 class ServerWindowSurfaceManager; 29 class ServerWindowSurfaceManager;
30 30
31 // Server side representation of a WindowSurface. 31 // Server side representation of a WindowSurface.
32 class ServerWindowSurface : public mojom::Surface, 32 class ServerWindowSurface : public mojom::Surface,
33 public cc::SurfaceFactoryClient { 33 public cc::SurfaceFactoryClient {
34 public: 34 public:
35 ServerWindowSurface(ServerWindowSurfaceManager* manager, 35 ServerWindowSurface(ServerWindowSurfaceManager* manager,
36 const cc::FrameSinkId& frame_sink_id,
36 mojo::InterfaceRequest<mojom::Surface> request, 37 mojo::InterfaceRequest<mojom::Surface> request,
37 mojom::SurfaceClientPtr client); 38 mojom::SurfaceClientPtr client);
38 39
39 ~ServerWindowSurface() override; 40 ~ServerWindowSurface() override;
40 41
41 const gfx::Size& last_submitted_frame_size() const { 42 const gfx::Size& last_submitted_frame_size() const {
42 return last_submitted_frame_size_; 43 return last_submitted_frame_size_;
43 } 44 }
44 45
45 bool may_contain_video() const { return may_contain_video_; } 46 bool may_contain_video() const { return may_contain_video_; }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool may_contain_video_ = false; 81 bool may_contain_video_ = false;
81 82
82 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurface); 83 DISALLOW_COPY_AND_ASSIGN(ServerWindowSurface);
83 }; 84 };
84 85
85 } // namespace ws 86 } // namespace ws
86 87
87 } // namespace ui 88 } // namespace ui
88 89
89 #endif // SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_ 90 #endif // SERVICES_UI_WS_SERVER_WINDOW_SURFACE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/frame_generator_unittest.cc ('k') | services/ui/ws/server_window_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698