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

Unified Diff: services/ui/public/cpp/window.cc

Issue 2610103003: Getting rid of SurfaceIdHandler as it is no longer needed. (Closed)
Patch Set: Created 3 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/public/cpp/window.h ('k') | services/ui/public/cpp/window_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window.cc
diff --git a/services/ui/public/cpp/window.cc b/services/ui/public/cpp/window.cc
index 828967cacf0f3bdb66ebddbee2c7ee0ba9828c09..bef5e653540f6007bfd5035bfbe5e011542176a3 100644
--- a/services/ui/public/cpp/window.cc
+++ b/services/ui/public/cpp/window.cc
@@ -14,7 +14,6 @@
#include "base/macros.h"
#include "services/ui/common/transient_window_utils.h"
#include "services/ui/public/cpp/property_type_converters.h"
-#include "services/ui/public/cpp/surface_id_handler.h"
#include "services/ui/public/cpp/window_compositor_frame_sink.h"
#include "services/ui/public/cpp/window_observer.h"
#include "services/ui/public/cpp/window_private.h"
@@ -597,7 +596,6 @@ Window::Window(WindowTreeClient* client, Id id)
// Matches aura, see aura::Window for details.
observers_(base::ObserverList<WindowObserver>::NOTIFY_EXISTING_ONLY),
input_event_handler_(nullptr),
- surface_id_handler_(nullptr),
visible_(false),
opacity_(1.0f),
display_id_(display::kInvalidDisplayId),
@@ -818,10 +816,6 @@ void Window::LocalSetSurfaceInfo(const cc::SurfaceInfo& surface_info) {
// TODO(kylechar): Start return reference here?
}
}
- if (parent_ && parent_->surface_id_handler_) {
- parent_->surface_id_handler_->OnChildWindowSurfaceChanged(this,
- surface_info);
- }
surface_info_ = surface_info;
}
« no previous file with comments | « services/ui/public/cpp/window.h ('k') | services/ui/public/cpp/window_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698