Home
last modified time | relevance | path

Searched refs:num_tabs (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dwindow_open_apitest.cc68 int num_tabs, in WaitForTabsAndPopups() argument
73 num_tabs, num_popups, num_panels)); in WaitForTabsAndPopups()
75 ++num_tabs; in WaitForTabsAndPopups()
83 browser->tab_strip_model()->count() == num_tabs && in WaitForTabsAndPopups()
93 EXPECT_EQ(num_tabs, browser->tab_strip_model()->count()); in WaitForTabsAndPopups()
109 (num_tabs == browser->tab_strip_model()->count()) && in WaitForTabsAndPopups()
135 const int num_tabs = 1; in IN_PROC_BROWSER_TEST_F() local
137 EXPECT_TRUE(WaitForTabsAndPopups(browser(), num_tabs, num_popups, 0)); in IN_PROC_BROWSER_TEST_F()
148 const int num_tabs = 0; in IN_PROC_BROWSER_TEST_F() local
150 EXPECT_TRUE(WaitForTabsAndPopups(browser(), num_tabs, num_popups, 0)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_install_ui_browsertest.cc150 int num_tabs = browser()->tab_strip_model()->count(); in IN_PROC_BROWSER_TEST_F() local
156 EXPECT_EQ(num_tabs + 1, browser()->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/extensions/
Dwindow_open_apitest.cc24 void WaitForTabsAndPopups(Browser* browser, int num_tabs, int num_popups) { in WaitForTabsAndPopups() argument
26 ++num_tabs; in WaitForTabsAndPopups()
31 browser->tab_count() < num_tabs) { in WaitForTabsAndPopups()
37 ASSERT_EQ(num_tabs, browser->tab_count()); in WaitForTabsAndPopups()
Dextension_install_ui_browsertest.cc89 int num_tabs = browser()->tab_count(); in IN_PROC_BROWSER_TEST_F() local
95 EXPECT_EQ(num_tabs + 1, browser()->tab_count()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/test/functional/
Dmultiprofile.py91 num_tabs = self.GetTabCount(windex)
148 def _AssertSessionRestore(self, url_list, set_restore, num_tabs=1, argument
160 self.assertEqual(num_tabs, self.GetTabCount())
164 while (tab_index < num_tabs):
255 num_tabs=2, profile='Profile 1')
259 num_tabs=1, profile='Profile 2')
Dprefs.py42 num_tabs = self.GetTabCount()
48 self.assertEqual(num_tabs, self.GetTabCount())
Dperf.py609 num_tabs=1): argument
630 num_invocations=num_tabs)
640 self.assertEqual(1 + num_tabs, self.GetTabCount(),
641 msg='Did not open %d new tab(s).' % num_tabs)
642 for _ in range(num_tabs):
795 'open_20_tabs', num_tabs=20)
/external/chromium_org/chrome/test/perf/
Dstartup_test.cc155 int num_tabs, int nth_timed_tab) { in RunStartupTest() argument
216 if (num_tabs > 0) { in RunStartupTest()
230 ASSERT_LT(nth_timed_tab, num_tabs); in RunStartupTest()
231 ASSERT_EQ(times.size(), static_cast<size_t>(num_tabs)); in RunStartupTest()
239 num_tabs = 0; in RunStartupTest()
264 if (num_tabs > 0) { in RunStartupTest()
292 if (num_tabs > 1) { in RunStartupTest()
/external/chromium_org/chrome/browser/sync/test/integration/performance/
Dsessions_sync_perf_test.cc29 void AddTabs(int profile, int num_tabs);
52 void SessionsSyncPerfTest::AddTabs(int profile, int num_tabs) { in AddTabs() argument
54 for (int i = 0; i < num_tabs; ++i) { in AddTabs()
/external/chromium_org/chrome/test/automation/
Dbrowser_proxy.cc118 bool BrowserProxy::GetTabCount(int* num_tabs) const { in GetTabCount()
122 if (!num_tabs) { in GetTabCount()
135 *num_tabs = tab_count_response; in GetTabCount()
Dbrowser_proxy.h55 bool GetTabCount(int* num_tabs) const WARN_UNUSED_RESULT;
/external/chromium_org/chrome/browser/sessions/
Dpersistent_tab_restore_service.cc51 int32 num_tabs; member
160 int num_tabs,
480 int num_tabs, in CreateWindowCommand() argument
488 payload.num_tabs = num_tabs; in CreateWindowCommand()
616 payload.num_tabs = old_payload.num_tabs; in CreateEntriesFromCommands()
622 pending_window_tabs = payload.num_tabs; in CreateEntriesFromCommands()
/external/chromium_org/third_party/libpng/
Dpng.h2641 int num_tabs=l; \
2642 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2643 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \
2649 int num_tabs=l; \
2650 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2651 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \
2657 int num_tabs=l; \
2658 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2659 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \
2666 int num_tabs=l; \
[all …]
/external/libpng/
Dpng.h2713 int num_tabs=l; \
2714 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2715 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \
2721 int num_tabs=l; \
2722 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2723 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \
2729 int num_tabs=l; \
2730 fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
2731 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \
2738 int num_tabs=l; \
[all …]
/external/chromium_org/chrome/browser/ui/views/ash/
Dtab_scrubber_browsertest.cc170 void AddTabs(Browser* browser, int num_tabs) { in AddTabs() argument
172 for (int i = 0; i < num_tabs; ++i) in AddTabs()
174 ASSERT_EQ(num_tabs + 1, browser->tab_strip_model()->count()); in AddTabs()
175 ASSERT_EQ(num_tabs, browser->tab_strip_model()->active_index()); in AddTabs()
/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc94 int32 num_tabs; member
647 int num_tabs, in CreateWindowCommand() argument
655 payload.num_tabs = num_tabs; in CreateWindowCommand()
779 payload.num_tabs = old_payload.num_tabs; in CreateEntriesFromCommands()
785 pending_window_tabs = payload.num_tabs; in CreateEntriesFromCommands()
Dtab_restore_service.h231 int num_tabs,
/external/chromium_org/chrome/browser/ui/toolbar/
Drecent_tabs_sub_menu_model.h96 int num_tabs,
Drecent_tabs_sub_menu_model.cc518 int num_tabs, in BuildLocalWindowItem() argument
522 if (num_tabs == 1) { in BuildLocalWindowItem()
528 base::IntToString16(num_tabs))); in BuildLocalWindowItem()
/external/qemu/distrib/libpng-1.2.19/
Dpng.h2472 int num_tabs=l; \
2473 fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
2474 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \
2478 int num_tabs=l; \
2479 fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
2480 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \
2484 int num_tabs=l; \
2485 fprintf(PNG_DEBUG_FILE,"%s"m,(num_tabs==1 ? "\t" : \
2486 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc1425 size_t num_tabs = 0; in RunImpl() local
1428 num_tabs = tab_ids.size(); in RunImpl()
1435 num_tabs = 1; in RunImpl()
1449 if (num_tabs > 1) { in RunImpl()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_browsertest.cc1016 int num_tabs = 0; in NumTabsWithState() local
1019 ++num_tabs; in NumTabsWithState()
1021 return num_tabs; in NumTabsWithState()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_browsertest.cc1311 int num_tabs = browser()->tab_strip_model()->count(); in IN_PROC_BROWSER_TEST_F() local
1313 EXPECT_EQ(num_tabs + 1, browser()->tab_strip_model()->count()); in IN_PROC_BROWSER_TEST_F()