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

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

Issue 2424633002: Revert of Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Created 4 years, 2 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/tests/test_window_tree.cc ('k') | services/ui/public/cpp/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window.h
diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
index 57859ea2fc3ed3b9f35c3bf34595d3d8aeb4c005..af2aae43276df0a635ac536d80c230c204e35ead 100644
--- a/services/ui/public/cpp/window.h
+++ b/services/ui/public/cpp/window.h
@@ -14,7 +14,6 @@
#include "mojo/public/cpp/bindings/array.h"
#include "services/shell/public/interfaces/interface_provider.mojom.h"
#include "services/ui/common/types.h"
-#include "services/ui/public/cpp/surface_id_handler.h"
#include "services/ui/public/interfaces/mus_constants.mojom.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
#include "ui/gfx/geometry/insets.h"
@@ -28,7 +27,6 @@
class InputEventHandler;
class ServiceProviderImpl;
-class SurfaceIdHandler;
class WindowObserver;
class WindowSurface;
class WindowSurfaceBinding;
@@ -162,10 +160,6 @@
void set_input_event_handler(InputEventHandler* input_event_handler) {
input_event_handler_ = input_event_handler;
- }
-
- void set_surface_id_handler(SurfaceIdHandler* surface_id_handler) {
- surface_id_handler_ = surface_id_handler;
}
// Observation.
@@ -315,7 +309,6 @@
void LocalSetPredefinedCursor(mojom::Cursor cursor_id);
void LocalSetSharedProperty(const std::string& name,
const std::vector<uint8_t>* data);
- void LocalSetSurfaceId(std::unique_ptr<SurfaceInfo> surface_info);
// Notifies this winodw that its stacking position has changed.
void NotifyWindowStackingChanged();
@@ -363,7 +356,6 @@
base::ObserverList<WindowObserver> observers_;
InputEventHandler* input_event_handler_;
- SurfaceIdHandler* surface_id_handler_;
gfx::Rect bounds_;
gfx::Insets client_area_;
@@ -401,8 +393,6 @@
std::map<const void*, Value> prop_map_;
- std::unique_ptr<SurfaceInfo> surface_info_;
-
DISALLOW_COPY_AND_ASSIGN(Window);
};
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.cc ('k') | services/ui/public/cpp/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698