#include "components/ui_devtools/ui_devtools_unittest_utils.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_util.h"
#include "third_party/inspector_protocol/crdtp/json.h"
namespace ui_devtools {
MockUIElementDelegate::MockUIElementDelegate() { … }
MockUIElementDelegate::~MockUIElementDelegate() { … }
FakeFrontendChannel::FakeFrontendChannel() { … }
FakeFrontendChannel::~FakeFrontendChannel() { … }
int FakeFrontendChannel::CountProtocolNotificationMessageStartsWith(
const std::string& message) { … }
int FakeFrontendChannel::CountProtocolNotificationMessage(
const std::string& message) { … }
void FakeFrontendChannel::SendProtocolNotification(
std::unique_ptr<protocol::Serializable> message) { … }
void FakeUIElement::GetBounds(gfx::Rect* bounds) const { … }
void FakeUIElement::SetBounds(const gfx::Rect& bounds) { … }
void FakeUIElement::GetVisible(bool* visible) const { … }
void FakeUIElement::SetVisible(bool visible) { … }
std::vector<std::string> FakeUIElement::GetAttributes() const { … }
std::pair<gfx::NativeWindow, gfx::Rect>
FakeUIElement::GetNodeWindowAndScreenBounds() const { … }
void FakeUIElement::AddSource(std::string path, int line) { … }
}