Home
last modified time | relevance | path

Searched refs:WebTextRun (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/public/web/
DWebFont.h45 struct WebTextRun;
71 … virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
76 virtual int calculateWidth(const WebTextRun&) const = 0;
80 virtual int offsetForPosition(const WebTextRun&, float position) const = 0;
94 virtual WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline,
DWebTextRun.h42 struct WebTextRun { struct
43 WebTextRun(const WebString& t, bool isRTL, bool hasDirectionalOverride) in WebTextRun() argument
49 WebTextRun() in WebTextRun() argument
/external/chromium_org/third_party/WebKit/Source/web/
DWebFontImpl.h53 … virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor,
55 virtual int calculateWidth(const WebTextRun&) const;
56 virtual int offsetForPosition(const WebTextRun&, float position) const;
57 virtual WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline,
DWebFontImpl.cpp90 void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFloatPoint& leftBasel… in drawText()
111 int WebFontImpl::calculateWidth(const WebTextRun& run) const in calculateWidth()
117 int WebFontImpl::offsetForPosition(const WebTextRun& run, float position) const in offsetForPosition()
123 WebFloatRect WebFontImpl::selectionRectForText(const WebTextRun& run, const WebFloatPoint& leftBase… in selectionRectForText()
DWebTextRun.cpp40 WebTextRun::operator WebCore::TextRun() const in operator WebCore::TextRun()
Dweb.gypi245 'WebTextRun.cpp',
Dwebkit.target.linux-x86.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
Dwebkit.target.darwin-mips.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
Dwebkit.target.darwin-x86.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
Dwebkit.target.linux-arm.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
Dwebkit.target.linux-mips.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
Dwebkit.target.darwin-arm.mk255 third_party/WebKit/Source/web/WebTextRun.cpp \
/external/chromium_org/content/child/
Dbrowser_font_resource_trusted.cc35 using blink::WebTextRun;
73 override_run_ = WebTextRun(text_, PP_ToBool(run.rtl), true); in TextRunCollection()
93 WebTextRun GetRunAt(int index, int32_t* run_start, int32_t* run_len) const { in GetRunAt()
97 return WebTextRun(base::string16(&text_[*run_start], *run_len), in GetRunAt()
119 WebTextRun override_run_;
125 WebTextRun* run) { in PPTextRunToWebTextRun()
130 *run = WebTextRun(UTF8ToUTF16(text_string->value()), in PPTextRunToWebTextRun()
331 WebTextRun run; in MeasureText()
345 WebTextRun run = runs.GetRunAt(i, &run_begin, &run_len); in CharacterOffsetForPixel()
366 WebTextRun run = runs.GetRunAt(i, &run_begin, &run_len); in PixelOffsetForCharacter()
[all …]