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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2478383002: Remove SurfaceSequence from mus client code. (Closed)
Patch Set: Only cleanup. Created 4 years, 1 month 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 | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 9e5ca403d9403a5291aa8262a873270e2c845d72..78d31b2714340ea5a27d5a3e934c5716040b4221 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -746,12 +746,6 @@ void WindowTreeClient::OnWindowMusPropertyChanged(
std::move(transport_value_mojo));
}
-void WindowTreeClient::OnWindowMusSurfaceDetached(
- WindowMus* window,
- const cc::SurfaceSequence& sequence) {
- tree_->OnWindowSurfaceDetached(window->server_id(), sequence);
-}
-
void WindowTreeClient::OnWmMoveLoopCompleted(uint32_t change_id,
bool completed) {
if (window_manager_internal_client_)
@@ -1207,7 +1201,6 @@ void WindowTreeClient::OnWindowPredefinedCursorChanged(
void WindowTreeClient::OnWindowSurfaceChanged(
Id window_id,
const cc::SurfaceId& surface_id,
- const cc::SurfaceSequence& surface_sequence,
const gfx::Size& frame_size,
float device_scale_factor) {
WindowMus* window = GetWindowByServerId(window_id);
@@ -1215,7 +1208,6 @@ void WindowTreeClient::OnWindowSurfaceChanged(
return;
std::unique_ptr<SurfaceInfo> surface_info(base::MakeUnique<SurfaceInfo>());
surface_info->surface_id = surface_id;
- surface_info->surface_sequence = surface_sequence;
surface_info->frame_size = frame_size;
surface_info->device_scale_factor = device_scale_factor;
window->SetSurfaceIdFromServer(std::move(surface_info));
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698