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