| Index: third_party/WebKit/Source/core/editing/FrameCaret.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/CookieJar.h b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
|
| similarity index 69%
|
| copy from third_party/WebKit/Source/core/loader/CookieJar.h
|
| copy to third_party/WebKit/Source/core/editing/FrameCaret.cpp
|
| index 2dc5f08415dc4009b3bd69db8dde19f119743f3b..e171e9ee793fd7ea9a521d91c5ffc821bf624ab2 100644
|
| --- a/third_party/WebKit/Source/core/loader/CookieJar.h
|
| +++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2003, 2006, 2008, 2012 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2004, 2008, 2009, 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
|
| @@ -23,21 +23,28 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CookieJar_h
|
| -#define CookieJar_h
|
| -
|
| -#include "wtf/Forward.h"
|
| -#include "wtf/text/WTFString.h"
|
| +#include "core/editing/FrameCaret.h"
|
|
|
| namespace blink {
|
|
|
| -class Document;
|
| -class KURL;
|
| +FrameCaret::FrameCaret(LocalFrame* frame)
|
| + : m_frame(frame)
|
| + , m_previousCaretVisibility(CaretVisibility::Hidden)
|
| + , m_caretBlinkTimer(this, &FrameCaret::caretBlinkTimerFired)
|
| + , m_caretRectDirty(true)
|
| + , m_shouldPaintCaret(true)
|
| + , m_isCaretBlinkingSuspended(false)
|
| +{
|
| + DCHECK(frame);
|
| +}
|
|
|
| -String cookies(const Document*, const KURL&);
|
| -void setCookies(Document*, const KURL&, const String& cookieString);
|
| -bool cookiesEnabled(const Document*);
|
| +FrameCaret::~FrameCaret() = default;
|
|
|
| -} // namespace blink
|
| +DEFINE_TRACE(FrameCaret)
|
| +{
|
| + visitor->trace(m_frame);
|
| + visitor->trace(m_previousCaretNode);
|
| + CaretBase::trace(visitor);
|
| +}
|
|
|
| -#endif
|
| +} // nemaspace blink
|
|
|