HomeSort by relevance Sort by last modified time
    Searched refs:TextPosition (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/fetch/
FetchInitiatorInfo.h 30 #include "wtf/text/TextPosition.h"
37 , position(TextPosition::belowRangePosition())
43 TextPosition position;
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextPosition.h 59 // TextPosition structure specifies coordinates within an text resource. It is used mostly
61 class TextPosition {
63 TextPosition(OrdinalNumber line, OrdinalNumber column)
68 TextPosition() { }
69 bool operator==(const TextPosition& other) { return m_line == other.m_line && m_column == other.m_column; }
70 bool operator!=(const TextPosition& other) { return !((*this) == other); }
73 static TextPosition minimumPosition() { return TextPosition(OrdinalNumber::first(), OrdinalNumber::first()); }
76 static TextPosition belowRangePosition() { return TextPosition(OrdinalNumber::beforeFirst(), OrdinalNumber::beforeFirst());
    [all...]
TextPosition.cpp 26 #include "wtf/text/TextPosition.h"
56 TextPosition TextPosition::fromOffsetAndLineEndings(unsigned offset, const Vector<unsigned>& lineEndings)
64 return TextPosition(OrdinalNumber::fromZeroBasedInt(lineIndex), OrdinalNumber::fromZeroBasedInt(column));
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XMLErrors.h 33 #include "wtf/text/TextPosition.h"
46 void handleError(ErrorType, const char* message, TextPosition);
51 void appendErrorMessage(const String& typeString, TextPosition, const char* message);
56 TextPosition m_lastErrorPosition;
XMLErrors.cpp 48 , m_lastErrorPosition(TextPosition::belowRangePosition())
54 handleError(type, message, TextPosition(OrdinalNumber::fromOneBasedInt(lineNumber), OrdinalNumber::fromOneBasedInt(columnNumber)));
57 void XMLErrors::handleError(ErrorType type, const char* message, TextPosition position)
74 void XMLErrors::appendErrorMessage(const String& typeString, TextPosition position, const char* message)
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextLayoutAttributesBuilder.h 55 struct TextPosition {
56 TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength = 0)
70 void fillCharacterDataMap(const TextPosition&);
74 Vector<TextPosition> m_textPositions;
SVGTextLayoutAttributesBuilder.cpp 93 for (unsigned textPosition = 0; textPosition < textLength; ++textPosition) {
94 UChar currentCharacter = text->characterAt(textPosition);
119 m_textPositions.append(TextPosition(element, m_textLength));
127 TextPosition& position = m_textPositions[atPosition];
139 TextPosition wholeTextPosition(outermostTextElement, 0, m_textLength);
179 void SVGTextLayoutAttributesBuilder::fillCharacterDataMap(const TextPosition& position)
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptSourceCode.h 38 #include "wtf/text/TextPosition.h"
47 ScriptSourceCode(const String& source, const KURL& url = KURL(), const TextPosition& startPosition = TextPosition::minimumPosition())
62 , m_startPosition(TextPosition::minimumPosition())
80 const TextPosition& startPosition() const { return m_startPosition; }
86 TextPosition m_startPosition;
V8LazyEventListener.h 37 #include "wtf/text/TextPosition.h"
51 static PassRefPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate)
62 V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition&, Node*, v8::Isolate*);
77 TextPosition m_position;
V8ScriptRunner.h 31 #include "wtf/text/TextPosition.h"
45 static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String&, const TextPosition&, v8::ScriptData*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin);
47 static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const String& = String(), const TextPosition& = TextPosition(), v8::ScriptData* = 0);
WorkerScriptController.h 41 #include "wtf/text/TextPosition.h"
100 ScriptValue evaluate(const String& script, const String& fileName, const TextPosition& scriptStartPosition, WorkerGlobalScopeExecutionState*);
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
CompactHTMLToken.h 31 #include "wtf/text/TextPosition.h"
51 CompactHTMLToken(const HTMLToken*, const TextPosition&);
61 const TextPosition& textPosition() const { return m_textPosition; }
77 TextPosition m_textPosition;
HTMLResourcePreloader.h 32 #include "wtf/text/TextPosition.h"
38 static PassOwnPtr<PreloadRequest> create(const String& initiatorName, const TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type resourceType, const String& mediaAttribute)
43 static PassOwnPtr<PreloadRequest> create(const String& initiatorName, const TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type resourceType)
65 PreloadRequest(const String& initiatorName, const TextPosition& initiatorPosition, const String& resourceURL, const KURL& baseURL, Resource::Type resourceType, const String& mediaAttribute)
81 TextPosition m_initiatorPosition;
HTMLScriptRunner.h 32 #include "wtf/text/TextPosition.h"
56 void execute(PassRefPtr<Element> scriptToProcess, const TextPosition& scriptStartPosition);
79 void runScript(Element*, const TextPosition& scriptStartPosition);
XSSAuditorDelegate.h 33 #include "wtf/text/TextPosition.h"
55 TextPosition m_textPosition;
CompactHTMLToken.cpp 38 TextPosition textPosition;
43 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition)
47 , m_textPosition(textPosition)
BackgroundHTMLParser.cpp 33 #include "wtf/text/TextPosition.h"
160 TextPosition position = TextPosition(m_input.current().currentLine(), m_input.current().currentColumn());
167 CompactHTMLToken token(m_token.get(), TextPosition(m_input.current().currentLine(), m_input.current().currentColumn()));
  /external/chromium_org/third_party/WebKit/Source/core/dom/
PendingScript.cpp 42 m_startingPosition = TextPosition::belowRangePosition();
PendingScript.h 34 #include "wtf/text/TextPosition.h"
50 , m_startingPosition(TextPosition::belowRangePosition())
85 TextPosition startingPosition() const { return m_startingPosition; }
86 void setStartingPosition(const TextPosition& position) { m_startingPosition = position; }
102 TextPosition m_startingPosition; // Only used for inline script tags.
ScriptableDocumentParser.h 31 #include "wtf/text/TextPosition.h"
49 virtual TextPosition textPosition() const = 0;
StyleElement.h 25 #include "wtf/text/TextPosition.h"
63 TextPosition m_startPosition;
ScriptLoader.h 26 #include "wtf/text/TextPosition.h"
46 bool prepareScript(const TextPosition& scriptStartPosition = TextPosition::minimumPosition(), LegacyTypeSupport = DisallowLegacyTypeInTypeAttribute);
StyleElement.cpp 45 , m_startPosition(TextPosition::belowRangePosition())
48 m_startPosition = document->scriptableDocumentParser()->textPosition();
141 TextPosition startPosition = m_startPosition == TextPosition::belowRangePosition() ? TextPosition::minimumPosition() : m_startPosition;
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSStyleSheet.h 27 #include "wtf/text/TextPosition.h"
53 static PassRefPtr<CSSStyleSheet> createInline(Node*, const KURL&, const TextPosition& startPosition = TextPosition::minimumPosition(), const String& encoding = String());
113 TextPosition startPositionInSource() const { return m_startPosition; }
117 CSSStyleSheet(PassRefPtr<StyleSheetContents>, Node* ownerNode, bool isInlineStylesheet, const TextPosition& startPosition);
136 TextPosition m_startPosition;
  /external/chromium_org/third_party/WebKit/Source/core/xml/parser/
XMLDocumentParser.h 81 void handleError(XMLErrors::ErrorType, const char* message, TextPosition);
93 TextPosition textPosition() const;
184 TextPosition m_scriptStartPosition;

Completed in 758 milliseconds

1 2 3