| Index: Source/core/layout/compositing/CompositedSelectionBounds.h
|
| diff --git a/Source/modules/crypto/AesKeyAlgorithm.h b/Source/core/layout/compositing/CompositedSelectionBounds.h
|
| similarity index 75%
|
| copy from Source/modules/crypto/AesKeyAlgorithm.h
|
| copy to Source/core/layout/compositing/CompositedSelectionBounds.h
|
| index c1c8bd16010c6c4050b2bebe5238198c22e2d79f..578a0a5796a66af24f333ee6d35fde75642ef779 100644
|
| --- a/Source/modules/crypto/AesKeyAlgorithm.h
|
| +++ b/Source/core/layout/compositing/CompositedSelectionBounds.h
|
| @@ -28,30 +28,31 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef AesKeyAlgorithm_h
|
| -#define AesKeyAlgorithm_h
|
| +#ifndef CompositedSelectionBounds_h
|
| +#define CompositedSelectionBounds_h
|
|
|
| -#include "bindings/core/v8/ScriptWrappable.h"
|
| -#include "modules/crypto/KeyAlgorithm.h"
|
| -#include "platform/heap/Handle.h"
|
| -#include "wtf/Forward.h"
|
| +#include "core/layout/compositing/CompositedSelectionBound.h"
|
| +#include "platform/geometry/FloatPoint.h"
|
| +#include "platform/graphics/GraphicsLayer.h"
|
|
|
| namespace blink {
|
|
|
| -class AesKeyAlgorithm : public KeyAlgorithm {
|
| -public:
|
| - static AesKeyAlgorithm* create(const WebCryptoKeyAlgorithm&);
|
| +struct CompositedSelectionBound {
|
|
|
| - unsigned short length();
|
| + CompositedSelectionBounds()
|
| + : length(0)
|
| + , isEditable(false)
|
| + , isUserTriggered(false)
|
| + {
|
| + }
|
|
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| -private:
|
| - explicit AesKeyAlgorithm(const WebCryptoKeyAlgorithm&);
|
| + CompositedSelectionBound start;
|
| + CompositedSelectionBound end;
|
| + size_t length;
|
| + bool isEditable;
|
| + bool isUserTriggered;
|
| };
|
|
|
| -DEFINE_KEY_ALGORITHM_TYPE_CASTS(AesKeyAlgorithm);
|
| -
|
| } // namespace blink
|
|
|
| #endif
|
|
|