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

Unified Diff: services/ui/view_manager/view_layout_request.h

Issue 1552043002: Make Mozart view manager use the new compositor. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-12
Patch Set: apply review feedback Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/view_manager/view_host_impl.cc ('k') | services/ui/view_manager/view_layout_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/view_manager/view_layout_request.h
diff --git a/services/ui/view_manager/view_layout_request.h b/services/ui/view_manager/view_layout_request.h
index 8091d2fce621fa8894e033f524f9a259f413698f..e2a63abceed5d0f9af25e76e741350769a77d9b9 100644
--- a/services/ui/view_manager/view_layout_request.h
+++ b/services/ui/view_manager/view_layout_request.h
@@ -27,7 +27,9 @@ class ViewLayoutRequest {
// Gets the layout parameters for this request.
// Does not confer ownership.
- mojo::ui::ViewLayoutParams* layout_params() { return layout_params_.get(); }
+ const mojo::ui::ViewLayoutParams* layout_params() const {
+ return layout_params_.get();
+ }
// Gets the layout parameters for this request and takes ownership.
mojo::ui::ViewLayoutParamsPtr TakeLayoutParams() {
@@ -44,7 +46,7 @@ class ViewLayoutRequest {
// Sends the layout information to each client.
// Must be invoked exactly once before destroying the request to prevent
// dangling callbacks.
- void DispatchLayoutInfo(mojo::ui::ViewLayoutInfo* info);
+ void DispatchLayoutInfo(mojo::ui::ViewLayoutInfoPtr info);
// True if the request has been issued to the view.
// False if it is still pending in the queue.
« no previous file with comments | « services/ui/view_manager/view_host_impl.cc ('k') | services/ui/view_manager/view_layout_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698