Lines Matching refs:web_frame
93 string16 DumpDocumentText(WebFrame* web_frame) {
96 WebElement document_element = web_frame->document().documentElement();
103 string16 DumpFramesAsText(WebFrame* web_frame, bool recursive) {
107 if (web_frame->parent() &&
108 !web_frame->document().documentElement().isNull()) {
110 result.append(web_frame->name());
114 result.append(DumpDocumentText(web_frame));
118 WebFrame* child = web_frame->firstChild();
126 string16 DumpRenderer(WebFrame* web_frame) {
127 return web_frame->renderTreeAsText();
130 bool CounterValueForElementById(WebFrame* web_frame, const std::string& id,
133 web_frame->counterValueForElementById(WebString::fromUTF8(id));
141 int PageNumberForElementById(WebFrame* web_frame,
145 return web_frame->pageNumberForElementById(WebString::fromUTF8(id),
150 int NumberOfPages(WebFrame* web_frame,
155 int number_of_pages = web_frame->printBegin(size);
156 web_frame->printEnd();
160 string16 DumpFrameScrollPosition(WebFrame* web_frame, bool recursive) {
161 gfx::Size offset = web_frame->scrollOffset();
165 if (web_frame->parent()) {
167 UTF16ToUTF8(web_frame->name()).c_str());
176 WebFrame* child = web_frame->firstChild();