Home | History | Annotate | Download | only in instant

Lines Matching full:tab_contents

21 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
27 #include "content/browser/tab_contents/tab_contents.h"
100 preview_ = tab->tab_contents();
137 void SetSuggestionsJavascriptArgument(TabContents* tab_contents,
142 tab_contents->render_view_host(),
147 bool GetStringFromJavascript(TabContents* tab_contents,
153 tab_contents->render_view_host(),
157 bool GetIntFromJavascript(TabContents* tab_contents,
163 tab_contents->render_view_host(),
167 bool GetBoolFromJavascript(TabContents* tab_contents,
173 tab_contents->render_view_host(),
194 std::string GetSearchStateAsString(TabContents* tab_contents,
208 if (!GetBoolFromJavascript(tab_contents, "window.chrome.sv", &sv) ||
209 !GetIntFromJavascript(tab_contents, "window.onsubmitcalls",
211 !GetIntFromJavascript(tab_contents, "window.oncancelcalls",
213 !GetIntFromJavascript(tab_contents, "window.onchangecalls",
215 !GetIntFromJavascript(tab_contents, "window.onresizecalls",
218 tab_contents, "window.beforeLoadSearchBox.value",
221 tab_contents, "window.beforeLoadSearchBox.verbatim",
227 (!GetStringFromJavascript(tab_contents, "window.lastSearchBox.value",
229 !GetBoolFromJavascript(tab_contents, "window.lastSearchBox.verbatim",
231 !GetIntFromJavascript(tab_contents,
234 !GetIntFromJavascript(tab_contents,
241 (!GetStringFromJavascript(tab_contents, "window.searchBox.value",
243 !GetBoolFromJavascript(tab_contents, "window.searchBox.verbatim",
245 !GetIntFromJavascript(tab_contents,
248 !GetIntFromJavascript(tab_contents,
271 TabContents* tab_contents) {
273 ASSERT_TRUE(GetStringFromJavascript(tab_contents, function, &result));
280 TabContents* tab_contents) {
282 ASSERT_TRUE(GetBoolFromJavascript(tab_contents, function, &result));
289 TabContents* tab_contents) {
291 ASSERT_TRUE(GetIntFromJavascript(tab_contents, function, &result));
299 CheckBoolValueFromJavascript(true, "true", tab->tab_contents()));
439 browser()->instant()->GetPreviewContents()->tab_contents()->
458 initial_tab->tab_contents()->GetRenderWidgetHostView();
474 rwhv = current_tab->tab_contents()->GetRenderWidgetHostView();
511 new_tab->tab_contents()->GetRenderWidgetHostView();
578 initial_tab->tab_contents()->GetRenderWidgetHostView();