Index: services/ui/ws/window_server_test_impl.h |
diff --git a/services/ui/ws/window_server_test_impl.h b/services/ui/ws/window_server_test_impl.h |
index 9a6dc788ee4282d219a0b5073abd6834149cf1fd..a4e9ee8298ab6ad5c9c62befe423fce46fced075 100644 |
--- a/services/ui/ws/window_server_test_impl.h |
+++ b/services/ui/ws/window_server_test_impl.h |
@@ -5,6 +5,8 @@ |
#ifndef SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ |
#define SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_ |
+#include <map> |
+ |
#include "services/ui/public/interfaces/window_server_test.mojom.h" |
namespace ui { |
@@ -20,15 +22,16 @@ class WindowServerTestImpl : public mojom::WindowServerTest { |
private: |
void OnWindowPaint(const std::string& name, |
- const EnsureClientHasDrawnWindowCallback& cb, |
+ const EnsureClientHasDrawnRootWindowsCallback& cb, |
ServerWindow* window); |
// mojom::WindowServerTest: |
- void EnsureClientHasDrawnWindow( |
+ void EnsureClientHasDrawnRootWindows( |
const std::string& client_name, |
- const EnsureClientHasDrawnWindowCallback& callback) override; |
+ const EnsureClientHasDrawnRootWindowsCallback& callback) override; |
WindowServer* window_server_; |
+ std::map<std::string, unsigned> painted_window_roots_; |
DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl); |
}; |