#include "remoting/host/desktop_display_layout_util.h"
#include <optional>
#include <vector>
#include "build/build_config.h"
#include "remoting/host/desktop_geometry.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/vector2d.h"
namespace remoting {
std::ostream& operator<<(std::ostream& os, const DesktopLayout& layout) { … }
namespace {
remoting::DesktopLayout MakeLayout(int position_x,
int position_y,
int width,
int height,
int x_dpi,
int y_dpi,
std::optional<int64_t> screen_id) { … }
void* ContextOf(int i) { … }
}
std::ostream& operator<<(
std::ostream& os,
const remoting::DesktopLayoutWithContext& layout_with_context) { … }
bool operator==(const remoting::DesktopLayoutWithContext& a,
const remoting::DesktopLayoutWithContext& b) { … }
TEST(DesktopDisplayLayoutUtilTest, CalculateDisplayLayoutDiff) { … }
}