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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1492183002: mus: Remove some dead code from client-lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index 16caa4ca98f3028a54bacb4fe0613bd60f29ae59..82b31d1e62adf91b210c9fd4ec6206e63d4afaf4 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -86,11 +86,6 @@ class WindowTreeClientImpl : public WindowTreeConnection,
mojo::InterfaceRequest<mojom::Surface> surface,
mojom::SurfaceClientPtr client);
- void set_change_acked_callback(const mojo::Callback<void(void)>& callback) {
- change_acked_callback_ = callback;
- }
- void ClearChangeAckedCallback() { change_acked_callback_.reset(); }
-
// Start/stop tracking windows. While tracked, they can be retrieved via
// WindowTreeConnection::GetWindowById.
void AddWindow(Window* window);
@@ -183,8 +178,6 @@ class WindowTreeClientImpl : public WindowTreeConnection,
const mojo::String& name,
mojo::Array<uint8_t> transit_data) override;
- void OnActionCompleted(bool success);
-
mojo::Callback<void(bool)> ActionCompletedCallback();
// This is set once and only once when we get OnEmbed(). It gives the unique
@@ -198,8 +191,6 @@ class WindowTreeClientImpl : public WindowTreeConnection,
uint32_t next_change_id_;
InFlightMap in_flight_map_;
- mojo::Callback<void(void)> change_acked_callback_;
-
WindowTreeDelegate* delegate_;
WindowManagerDelegate* window_manager_delegate_;
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698