blob: 250d09977d20830f79db538b59177d9c65e75372 [file] [log] [blame]
// Copyright 2018 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_WS_CLIENT_ROOT_TEST_HELPER_H_
#define SERVICES_WS_CLIENT_ROOT_TEST_HELPER_H_
#include "base/macros.h"
#include "ui/events/event.h"
namespace aura {
class ClientSurfaceEmbedder;
}
namespace ws {
class ClientRoot;
// Used for accessing private members of ClientRoot in tests.
class ClientRootTestHelper {
public:
explicit ClientRootTestHelper(ClientRoot* client_root);
~ClientRootTestHelper();
aura::ClientSurfaceEmbedder* GetClientSurfaceEmbedder();
bool IsWindowForcedVisible();
private:
ClientRoot* client_root_;
DISALLOW_COPY_AND_ASSIGN(ClientRootTestHelper);
};
} // namespace ws
#endif // SERVICES_WS_CLIENT_ROOT_TEST_HELPER_H_