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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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/ws/window_tree.h ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index a9d098e8e875b8bb58e9885717c5aa61d75b0c71..4fdd82cb472891fe1e325f6dd1e2d79ba29f2fb4 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -783,10 +783,9 @@ void WindowTree::ProcessTransientWindowRemoved(
transient_client_window_id.id);
}
-void WindowTree::ProcessWindowSurfaceChanged(ServerWindow* window,
- const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float device_scale_factor) {
+void WindowTree::ProcessWindowSurfaceChanged(
+ ServerWindow* window,
+ const cc::SurfaceInfo& surface_info) {
ServerWindow* parent_window = window->parent();
ClientWindowId client_window_id, parent_client_window_id;
if (!IsWindowKnown(window, &client_window_id) ||
@@ -795,8 +794,7 @@ void WindowTree::ProcessWindowSurfaceChanged(ServerWindow* window,
return;
}
- client()->OnWindowSurfaceChanged(client_window_id.id, surface_id, frame_size,
- device_scale_factor);
+ client()->OnWindowSurfaceChanged(client_window_id.id, surface_info);
}
void WindowTree::SendToPointerWatcher(const ui::Event& event,
« no previous file with comments | « services/ui/ws/window_tree.h ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698