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

Side by Side Diff: components/view_manager/display_manager.cc

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 | « components/view_manager/display_manager.h ('k') | components/view_manager/gles2/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/view_manager/display_manager.h" 5 #include "components/view_manager/display_manager.h"
6 6
7 #include "base/numerics/safe_conversions.h" 7 #include "base/numerics/safe_conversions.h"
8 #include "components/gpu/public/interfaces/gpu.mojom.h"
9 #include "components/surfaces/public/interfaces/quads.mojom.h"
10 #include "components/surfaces/public/interfaces/surfaces.mojom.h"
11 #include "components/view_manager/connection_manager.h" 8 #include "components/view_manager/connection_manager.h"
9 #include "components/view_manager/public/interfaces/gpu.mojom.h"
10 #include "components/view_manager/public/interfaces/quads.mojom.h"
11 #include "components/view_manager/public/interfaces/surfaces.mojom.h"
12 #include "components/view_manager/server_view.h" 12 #include "components/view_manager/server_view.h"
13 #include "components/view_manager/view_coordinate_conversions.h" 13 #include "components/view_manager/view_coordinate_conversions.h"
14 #include "mojo/application/public/cpp/application_connection.h" 14 #include "mojo/application/public/cpp/application_connection.h"
15 #include "mojo/application/public/cpp/application_impl.h" 15 #include "mojo/application/public/cpp/application_impl.h"
16 #include "mojo/converters/geometry/geometry_type_converters.h" 16 #include "mojo/converters/geometry/geometry_type_converters.h"
17 #include "mojo/converters/surfaces/surfaces_type_converters.h" 17 #include "mojo/converters/surfaces/surfaces_type_converters.h"
18 #include "mojo/converters/surfaces/surfaces_utils.h" 18 #include "mojo/converters/surfaces/surfaces_utils.h"
19 #include "mojo/converters/transform/transform_type_converters.h" 19 #include "mojo/converters/transform/transform_type_converters.h"
20 20
21 using mojo::Rect; 21 using mojo::Rect;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 &DefaultDisplayManager::OnMetricsChanged, weak_factory_.GetWeakPtr())); 180 &DefaultDisplayManager::OnMetricsChanged, weak_factory_.GetWeakPtr()));
181 } 181 }
182 182
183 void DefaultDisplayManager::OnConnectionError() { 183 void DefaultDisplayManager::OnConnectionError() {
184 // This is called when the native_viewport is torn down before 184 // This is called when the native_viewport is torn down before
185 // ~DefaultDisplayManager may be called. 185 // ~DefaultDisplayManager may be called.
186 native_viewport_closed_callback_.Run(); 186 native_viewport_closed_callback_.Run();
187 } 187 }
188 188
189 } // namespace view_manager 189 } // namespace view_manager
OLDNEW
« no previous file with comments | « components/view_manager/display_manager.h ('k') | components/view_manager/gles2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698