/external/webkit/WebCore/platform/ |
Pasteboard.h | 76 class Range; 83 static void writeSelection(NSPasteboard* pasteboard, Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame); 89 void writeSelection(Range*, bool canSmartCopyOrDelete, Frame*); 98 PassRefPtr<DocumentFragment> documentFragment(Frame*, PassRefPtr<Range>, bool allowPlainText, bool& chosePlainText);
|
/external/webkit/WebCore/page/ |
DOMSelection.h | 40 class Range; 81 PassRefPtr<Range> getRangeAt(int, ExceptionCode&); 83 void addRange(Range*);
|
DOMSelection.cpp | 37 #include "Range.h" 191 return "Range"; 333 PassRefPtr<Range> DOMSelection::getRangeAt(int index, ExceptionCode& ec) 343 // If you're hitting this, you've added broken multi-range selection support 349 return Range::create(shadowAncestor->document(), container, offset, container, offset); 363 void DOMSelection::addRange(Range* r) 377 RefPtr<Range> range = selection->selection().toNormalizedRange(); local 379 if (r->compareBoundaryPoints(Range::START_TO_START, range.get(), ec) == -1) [all...] |
DOMSelection.idl | 56 Range getRangeAt(in long index) 59 void addRange(in Range range); 71 // WebKit's "type" accessor returns "None", "Range" and "Caret"
|
/external/webkit/WebCore/dom/ |
Range.cpp | 25 #include "Range.h" 50 static WTF::RefCountedLeakCounter rangeCounter("Range"); 53 inline Range::Range(PassRefPtr<Document> ownerDocument) 65 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument) 67 return adoptRef(new Range(ownerDocument)); 70 inline Range::Range(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) 90 PassRefPtr<Range> Range::create(PassRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffse (…) 1678 RefPtr<Range> range = Range::create(node->document()); local [all...] |
/external/webkit/WebCore/editing/ |
VisiblePosition.h | 132 PassRefPtr<Range> makeRange(const VisiblePosition&, const VisiblePosition&); 133 bool setStart(Range*, const VisiblePosition&); 134 bool setEnd(Range*, const VisiblePosition&); 135 VisiblePosition startVisiblePosition(const Range*, EAffinity); 136 VisiblePosition endVisiblePosition(const Range*, EAffinity);
|
Editor.cpp | 191 bool Editor::canDeleteRange(Range* range) const 194 Node* startContainer = range->startContainer(ec); 195 Node* endContainer = range->endContainer(ec); 202 if (range->collapsed(ec)) { 203 VisiblePosition start(startContainer, range->startOffset(ec), DOWNSTREAM); 258 // when the selection was updated by deleting the range 282 RefPtr<Range> range = selectedRange(); local 284 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, chosePlainText) 428 RefPtr<Range> range = m_frame->selection()->toNormalizedRange(); local 1323 RefPtr<Range> range = compositionRange(); local [all...] |
VisibleSelection.h | 47 VisibleSelection(const Range*, EAffinity = SEL_DEFAULT_AFFINITY); 86 // We don't yet support multi-range selections, so we only ever have one range to return. 87 PassRefPtr<Range> firstRange() const; 90 // for historical reasons. toNormalizedRange contracts the range around 91 // text, and moves the caret upstream before returning the range. 92 PassRefPtr<Range> toNormalizedRange() const; 131 SelectionType m_selectionType; // None, Caret, Range
|
/external/easymock/src/org/easymock/ |
MockControl.java | 254 * @param range
261 public void setReturnValue(Object value, Range range) {
265 callWithConvertedRange(setter, range);
351 public void setVoidCallable(Range range) {
353 callWithConvertedRange(setter, range);
382 public void setThrowable(Throwable throwable, Range range) {
386 callWithConvertedRange(setter, range);
[all...] |
/external/webkit/WebKit/android/WebCoreSupport/ |
EditorClientAndroid.cpp | 48 bool EditorClientAndroid::shouldDeleteRange(Range*) { return true; } 62 bool EditorClientAndroid::shouldBeginEditing(Range*) 67 bool EditorClientAndroid::shouldEndEditing(Range*) 72 bool EditorClientAndroid::shouldInsertNode(Node*, Range*, EditorInsertAction) { notImplemented(); return true; } 73 bool EditorClientAndroid::shouldInsertText(const String&, Range*, EditorInsertAction) { return true; } 74 bool EditorClientAndroid::shouldApplyStyle(CSSStyleDeclaration*, Range*) { notImplemented(); return true; } 242 bool EditorClientAndroid::shouldChangeSelectedRange(Range*, Range*, EAffinity, 254 bool EditorClientAndroid::shouldMoveRangeAfterDelete(Range*, Range*) { return true; [all...] |
/external/webkit/WebKit/haiku/WebCoreSupport/ |
EditorClientHaiku.cpp | 65 bool EditorClientHaiku::shouldDeleteRange(Range*) 123 bool EditorClientHaiku::shouldBeginEditing(WebCore::Range*) 129 bool EditorClientHaiku::shouldEndEditing(WebCore::Range*) 135 bool EditorClientHaiku::shouldInsertNode(Node*, Range*, EditorInsertAction) 141 bool EditorClientHaiku::shouldInsertText(const String&, Range*, EditorInsertAction) 147 bool EditorClientHaiku::shouldChangeSelectedRange(Range* fromRange, Range* toRange, 155 WebCore::Range*) 161 bool EditorClientHaiku::shouldMoveRangeAfterDelete(Range*, Range*) [all...] |
/external/easymock/src/org/easymock/internal/ |
IMocksControlState.java | 44 void times(Range range);
|
MocksControl.java | 220 state.times(new Range(times));
229 state.times(new Range(min, max));
266 public static final Range ONCE = new Range(1);
271 public static final Range AT_LEAST_ONCE = new Range(1, Integer.MAX_VALUE);
276 public static final Range ZERO_OR_MORE = new Range(0, Integer.MAX_VALUE);
|
/external/webkit/WebCore/platform/android/ |
ClipboardAndroid.h | 58 virtual void writeRange(Range*, Frame*);
|
ClipboardAndroid.cpp | 34 #include "Range.h" 101 void ClipboardAndroid::writeRange(Range* selectedRange, Frame*)
|
/external/webkit/WebCore/loader/archive/cf/ |
LegacyWebArchive.h | 38 class Range; 48 static PassRefPtr<LegacyWebArchive> create(Range*);
|
/external/webkit/WebCore/platform/gtk/ |
DataObjectGtk.h | 25 #include "Range.h" 45 void setRange(PassRefPtr<Range> newRange) { m_range = newRange; } 73 RefPtr<Range> m_range;
|
ClipboardGtk.h | 62 virtual void writeRange(Range*, Frame*);
|
/external/webkit/WebCore/platform/wx/ |
PasteboardWx.cpp | 53 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) 81 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context,
|
ClipboardWx.h | 61 virtual void writeRange(Range*, Frame*);
|
/external/webkit/WebCore/loader/ |
EmptyClients.h | 337 virtual bool shouldDeleteRange(Range*) { return false; } 350 virtual bool shouldBeginEditing(Range*) { return false; } 351 virtual bool shouldEndEditing(Range*) { return false; } 352 virtual bool shouldInsertNode(Node*, Range*, EditorInsertAction) { return false; } 353 // virtual bool shouldInsertNode(Node*, Range* replacingRange, WebViewInsertAction) { return false; } 354 virtual bool shouldInsertText(const String&, Range*, EditorInsertAction) { return false; } 355 virtual bool shouldChangeSelectedRange(Range*, Range*, EAffinity, bool) { return false; } 357 virtual bool shouldApplyStyle(CSSStyleDeclaration*, Range*) { return false; } 358 virtual bool shouldMoveRangeAfterDelete(Range*, Range*) { return false; [all...] |
/external/webkit/WebKit/wx/WebKitSupport/ |
EditorClientWx.cpp | 143 bool EditorClientWx::shouldDeleteRange(Range*) 213 bool EditorClientWx::shouldBeginEditing(Range*) 219 bool EditorClientWx::shouldEndEditing(Range*) 225 bool EditorClientWx::shouldInsertNode(Node*, Range*, 232 bool EditorClientWx::shouldInsertText(const String&, Range*, 240 Range*) 246 bool EditorClientWx::shouldMoveRangeAfterDelete(Range*, Range*) 252 bool EditorClientWx::shouldChangeSelectedRange(Range* fromRange, Range* toRange, [all...] |
/external/webkit/WebCore/platform/haiku/ |
ClipboardHaiku.h | 63 virtual void writeRange(Range*, Frame*);
|
PasteboardHaiku.cpp | 54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) 112 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame* frame, PassRefPtr<Range> context,
|
/external/webkit/WebKit/qt/WebCoreSupport/ |
EditorClientQt.cpp | 53 #include "Range.h" 86 static QString dumpRange(WebCore::Range *range) 88 if (!range) 92 QString str = QString("range from %1 of %2 to %3 of %4") 93 .arg(range->startOffset(code)).arg(dumpPath(range->startContainer(code))) 94 .arg(range->endOffset(code)).arg(dumpPath(range->endContainer(code))); 104 bool EditorClientQt::shouldDeleteRange(Range* range [all...] |