| Index: third_party/WebKit/Source/core/layout/LayoutFullScreen.h
|
| diff --git a/third_party/WebKit/public/platform/WebTransformKeyframe.h b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
|
| similarity index 56%
|
| copy from third_party/WebKit/public/platform/WebTransformKeyframe.h
|
| copy to third_party/WebKit/Source/core/layout/LayoutFullScreen.h
|
| index 4adc83af5845124fd0c12a3e520f8e77f7dd26a8..66a0dbd9c827dbb9021fcbb01305bfdb01e6c398 100644
|
| --- a/third_party/WebKit/public/platform/WebTransformKeyframe.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2012 Google Inc. All rights reserved.
|
| + * Copyright (C) 2010 Apple Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -22,35 +22,42 @@
|
| * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebTransformKeyframe_h
|
| -#define WebTransformKeyframe_h
|
| +#ifndef LayoutFullScreen_h
|
| +#define LayoutFullScreen_h
|
|
|
| -#include "WebNonCopyable.h"
|
| -#include "WebPrivateOwnPtr.h"
|
| -#include "WebTransformOperations.h"
|
| -#if INSIDE_BLINK
|
| -namespace WTF { template <typename T> class PassOwnPtr; }
|
| -#endif
|
| +#include "core/CoreExport.h"
|
| +#include "core/layout/LayoutFlexibleBox.h"
|
| +#include "core/style/StyleInheritedData.h"
|
|
|
| namespace blink {
|
|
|
| -class WebTransformKeyframe : public WebNonCopyable {
|
| +class CORE_EXPORT LayoutFullScreen final : public LayoutFlexibleBox {
|
| public:
|
| -#if INSIDE_BLINK
|
| - BLINK_PLATFORM_EXPORT WebTransformKeyframe(double time, WTF::PassOwnPtr<WebTransformOperations> value);
|
| -#endif
|
| + static LayoutFullScreen* createAnonymous(Document*);
|
| +
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutFullScreen || LayoutFlexibleBox::isOfType(type); }
|
| + const char* name() const override { return "LayoutFullScreen"; }
|
| +
|
| + void setPlaceholder(LayoutBlock*);
|
| + LayoutBlock* placeholder() { return m_placeholder; }
|
| + void createPlaceholder(PassRefPtr<ComputedStyle>, const LayoutRect& frameRect);
|
|
|
| - BLINK_PLATFORM_EXPORT ~WebTransformKeyframe();
|
|
|
| - BLINK_PLATFORM_EXPORT double time() const;
|
| + static LayoutObject* wrapLayoutObject(LayoutObject*, LayoutObject*, Document*);
|
| + void unwrapLayoutObject();
|
|
|
| - BLINK_PLATFORM_EXPORT const WebTransformOperations& value() const;
|
| + void updateStyle();
|
|
|
| private:
|
| - double m_time;
|
| - WebPrivateOwnPtr<WebTransformOperations> m_value;
|
| + LayoutFullScreen();
|
| + void willBeDestroyed() override;
|
| +
|
| +protected:
|
| + LayoutBlock* m_placeholder;
|
| };
|
|
|
| -} // namespace blink
|
| +DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFullScreen, isLayoutFullScreen());
|
| +
|
| +}
|
|
|
| -#endif // WebTransformKeyframe_h
|
| +#endif
|
|
|