#include "third_party/blink/renderer/core/view_transition/view_transition_style_builder.h"
#include "third_party/blink/renderer/core/css/properties/computed_style_utils.h"
#include "third_party/blink/renderer/platform/graphics/graphics_types.h"
#include "third_party/blink/renderer/platform/text/writing_mode.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "ui/gfx/geometry/transform.h"
namespace blink {
namespace {
const char* kGroupTagName = …;
const char* kImagePairTagName = …;
const char* kNewImageTagName = …;
const char* kOldImageTagName = …;
const char* kKeyframeNamePrefix = …;
}
void ViewTransitionStyleBuilder::AddUAStyle(const String& style) { … }
String ViewTransitionStyleBuilder::Build() { … }
void ViewTransitionStyleBuilder::AddSelector(const String& name,
const String& tag) { … }
void ViewTransitionStyleBuilder::AddRules(const String& selector,
const String& tag,
const String& rules) { … }
void ViewTransitionStyleBuilder::AddAnimations(
AnimationType type,
const String& tag,
const ContainerProperties& source_properties,
const CapturedCssProperties& animated_css_properties,
const gfx::Transform& parent_inverse_transform) { … }
namespace {
std::string GetTransformString(
const ViewTransitionStyleBuilder::ContainerProperties& properties,
const gfx::Transform& parent_inverse_transform) { … }
}
String ViewTransitionStyleBuilder::AddKeyframes(
const String& tag,
const ContainerProperties& source_properties,
const CapturedCssProperties& animated_css_properties,
const gfx::Transform& parent_inverse_transform) { … }
void ViewTransitionStyleBuilder::AddContainerStyles(
const String& tag,
const ContainerProperties& properties,
const CapturedCssProperties& captured_css_properties,
const gfx::Transform& parent_inverse_transform) { … }
}