Home
last modified time | relevance | path

Searched refs:window_index (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/ui/toolbar/
Drecent_tabs_builder_test_helper.cc127 int window_index) { in GetWindowID() argument
128 return sessions_[session_index].windows[window_index].id; in GetWindowID()
131 void RecentTabsBuilderTestHelper::AddTab(int session_index, int window_index) { in AddTab() argument
134 AddTabWithInfo(session_index, window_index, timestamp, base::string16()); in AddTab()
138 int window_index, in AddTabWithInfo() argument
145 sessions_[session_index].windows[window_index].tabs.push_back(tab_info); in AddTabWithInfo()
149 int window_index) { in GetTabCount() argument
150 return sessions_[session_index].windows[window_index].tabs.size(); in GetTabCount()
154 int window_index, in GetTabID() argument
156 return sessions_[session_index].windows[window_index].tabs[tab_index].id; in GetTabID()
[all …]
Drecent_tabs_builder_test_helper.h34 SessionID::id_type GetWindowID(int session_index, int window_index);
36 void AddTab(int session_index, int window_index);
38 int window_index,
41 int GetTabCount(int session_index, int window_index);
43 int window_index,
46 int window_index,
49 int window_index,
60 int window_index,
63 int window_index,
/external/chromium_org/chrome/test/ui/
Dui_test.cc242 scoped_refptr<TabProxy> UITestBase::GetActiveTab(int window_index) { in GetActiveTab() argument
243 EXPECT_GE(window_index, 0); in GetActiveTab()
250 EXPECT_GT(window_count, window_index); in GetActiveTab()
252 GetBrowserWindow(window_index)); in GetActiveTab()
281 void UITestBase::NavigateToURL(const GURL& url, int window_index) { in NavigateToURL() argument
282 NavigateToURL(url, window_index, GetActiveTabIndex(window_index)); in NavigateToURL()
285 void UITestBase::NavigateToURL(const GURL& url, int window_index, int in NavigateToURL() argument
287 NavigateToURLBlockUntilNavigationsComplete(url, 1, window_index, tab_index); in NavigateToURL()
300 const GURL& url, int number_of_navigations, int window_index, in NavigateToURLBlockUntilNavigationsComplete() argument
303 automation()->GetBrowserWindow(window_index); in NavigateToURLBlockUntilNavigationsComplete()
[all …]
Dui_test.h85 void NavigateToURL(const GURL& url, int window_index);
88 void NavigateToURL(const GURL& url, int window_index, int tab_index);
99 int number_of_navigations, int tab_index, int window_index);
107 GURL GetActiveTabURL(int window_index);
114 std::wstring GetActiveTabTitle(int window_index);
122 int GetActiveTabIndex(int window_index);
129 int GetTabCount(int window_index);
271 scoped_refptr<TabProxy> GetActiveTab(int window_index);
/external/chromium_org/content/browser/
Dplugin_process_host.cc67 std::set<HWND>::iterator window_index = in OnPluginWindowDestroyed() local
69 if (window_index == plugin_parent_windows_set_.end()) in OnPluginWindowDestroyed()
72 plugin_parent_windows_set_.erase(window_index); in OnPluginWindowDestroyed()
123 std::set<HWND>::iterator window_index; in ~PluginProcessHost() local
124 for (window_index = plugin_parent_windows_set_.begin(); in ~PluginProcessHost()
125 window_index != plugin_parent_windows_set_.end(); in ~PluginProcessHost()
126 ++window_index) { in ~PluginProcessHost()
127 PostMessage(*window_index, WM_CLOSE, 0, 0); in ~PluginProcessHost()
/external/chromium_org/chrome/test/pyautolib/
Dpyautolib.h79 std::string _SendJSONRequest(int window_index,
85 int window_index = 0, int tab_index = 0);
87 std::string GetCookie(const GURL& cookie_url, int window_index = 0,
Dpyautolib.cc107 std::string PyUITestBase::_SendJSONRequest(int window_index, in _SendJSONRequest() argument
121 new AutomationMsg_SendJSONRequest(window_index, request, &response, in _SendJSONRequest()
Dpyautolib.i169 std::string _SendJSONRequest(int window_index,
Dpyauto.py2301 def PerformActionOnDownload(self, id, action, window_index=0): argument
2347 return self._GetResultFromJSONRequest(cmd_dict, windex=window_index)
2965 def GetTabContents(self, tab_index=0, window_index=0): argument
2986 self._GetResultFromJSONRequest(cmd_dict, windex=window_index)
/external/chromium_org/chrome/test/functional/
Dchromeos_longterm_test.py34 for window_index, window in enumerate(windows):
39 self.ActivateTab(tab_index, window_index)
40 return [tab_index, window_index]
Dstress.py293 for window_index in range(15):
335 def _BrowserGoBack(self, window_index): argument
345 self._BookMarkEvery5thURL(window_index)
346 self.TabGoBack(tab_index=0, windex=window_index)
348 def _BrowserGoForward(self, window_index): argument
358 self._BookMarkEvery5thURL(window_index)
359 self.TabGoForward(tab_index=0, windex=window_index)
398 def _BookMarkEvery5thURL(self, window_index): argument
407 tab_title = self.GetActiveTabTitle(window_index) # get the page title
408 url = self.GetActiveTabURL(window_index).spec() # get the page url
Dpasswords.py64 def _ClickOnLoginPage(self, window_index, tab_index): argument
77 self.ExecuteJavascript(click_js, tab_index, window_index)
90 tab_index, window_index) != '' and
92 tab_index, window_index) != ''))
/external/chromium_org/chrome/browser/sync/test/integration/
Dsessions_helper.cc305 int window_index = 0; in CheckForeignSessionsAgainst() local
306 for (size_t j = 0; j < sessions.size(); ++j, ++window_index) { in CheckForeignSessionsAgainst()
307 if (window_index == index) in CheckForeignSessionsAgainst()
308 window_index++; // Skip self. in CheckForeignSessionsAgainst()
310 *(windows[window_index].Get()))) in CheckForeignSessionsAgainst()
/external/chromium/chrome/browser/sessions/
Dsession_restore_uitest.cc47 void CloseWindow(int window_index, int initial_count) { in CloseWindow() argument
49 automation()->GetBrowserWindow(window_index)); in CloseWindow()
65 void AssertWindowHasOneTab(int window_index, GURL* url) { in AssertWindowHasOneTab() argument
67 automation()->GetBrowserWindow(window_index)); in AssertWindowHasOneTab()
/external/chromium_org/chrome/test/automation/
Dautomation_proxy.cc322 int window_index) { in GetBrowserWindow() argument
324 if (!Send(new AutomationMsg_BrowserWindow(window_index, &handle))) in GetBrowserWindow()
Dautomation_proxy.h132 scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index);