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

Unified Diff: services/ui/public/cpp/tests/window_tree_client_private.h

Issue 2651593002: mus: Remove the old client lib. (Closed)
Patch Set: restore test 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
Index: services/ui/public/cpp/tests/window_tree_client_private.h
diff --git a/services/ui/public/cpp/tests/window_tree_client_private.h b/services/ui/public/cpp/tests/window_tree_client_private.h
deleted file mode 100644
index bb2a3609fc81b10de7235d59296343d4b875221c..0000000000000000000000000000000000000000
--- a/services/ui/public/cpp/tests/window_tree_client_private.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_
-#define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_
-
-#include <stdint.h>
-
-#include <memory>
-
-#include "base/macros.h"
-#include "services/ui/common/types.h"
-
-namespace display {
-class Display;
-}
-
-namespace ui {
-class Event;
-}
-
-namespace ui {
-namespace mojom {
-class WindowTree;
-}
-
-class Window;
-class WindowTreeClient;
-
-// Use to access implementation details of WindowTreeClient.
-class WindowTreeClientPrivate {
- public:
- explicit WindowTreeClientPrivate(WindowTreeClient* tree_client_impl);
- explicit WindowTreeClientPrivate(Window* window);
- ~WindowTreeClientPrivate();
-
- // Calls OnEmbed() on the WindowTreeClient.
- void OnEmbed(mojom::WindowTree* window_tree);
-
- void CallWmNewDisplayAdded(const display::Display& display);
-
- // Pretends that |event| has been received from the window server.
- void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event);
-
- void CallOnCaptureChanged(Window* new_capture, Window* old_capture);
-
- // Sets the WindowTree and client id.
- void SetTreeAndClientId(mojom::WindowTree* window_tree,
- ClientSpecificId client_id);
-
- bool HasPointerWatcher();
-
- private:
- WindowTreeClient* tree_client_impl_;
- uint16_t next_window_id_ = 1u;
-
- DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate);
-};
-
-} // namespace ui
-
-#endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_TREE_CLIENT_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698