/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_strip_model_utils.cc | 5 #include "chrome/browser/ui/tabs/tab_strip_model_utils.h" 8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 13 void GetOpenUrls(const TabStripModel& tabs, argument 16 for (int i = 0; i < tabs.count(); ++i) { 17 content::WebContents* web_contents = tabs.GetWebContentsAt(i);
|
H A D | pinned_tab_codec.cc | 5 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 31 // Returns true if |browser| has any pinned tabs. 129 const StartupTabs& tabs) { 137 for (StartupTabs::const_iterator i = tabs.begin(); i != tabs.end(); ++i) 128 WritePinnedTabs(Profile* profile, const StartupTabs& tabs) argument
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
H A D | tabs_interactive_test.cc | 6 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 51 base::ListValue* tabs = NULL; local 52 EXPECT_FALSE(result.get()->GetList(keys::kTabsKey, &tabs)); 64 // "populate" was enabled so tabs should be populated. 65 EXPECT_TRUE(result.get()->GetList(keys::kTabsKey, &tabs)); 90 // Get tabs in the 'last focused' window called from non-focused browser. 108 // Get tabs NOT in the 'last focused' window called from the focused browser. 132 ASSERT_TRUE(RunExtensionTest("tabs/current_window")) << message_;
|
H A D | tabs_test.cc | 14 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 15 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 23 #include "chrome/browser/ui/tabs/tab_strip_model.h" 91 // "populate" was enabled so tabs should be populated. 92 base::ListValue* tabs = NULL; local 93 EXPECT_TRUE(result.get()->GetList(keys::kTabsKey, &tabs)); 162 base::ListValue* tabs = NULL; local 163 EXPECT_FALSE(result.get()->GetList(keys::kTabsKey, &tabs)); 165 // Get the current window using the old window and make the tabs populated. 176 // "populate" was enabled so tabs shoul 207 base::ListValue* tabs = NULL; local 229 base::ListValue* tabs = NULL; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_tab_util.h | 41 namespace tabs { namespace in namespace:extensions::api 46 // Provides various utility functions that help manipulate tabs. 91 // Creates a Tab object (see chrome/common/extensions/api/tabs.json) with 127 api::tabs::Tab* tab); 167 // Executes the specified callback for all tabs in all browser windows.
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
H A D | chrome_extension_externs.js | 311 chrome.tabs = {}; 323 chrome.tabs.captureVisibleTab = function(windowId, options, callback) {}; 330 chrome.tabs.connect = function(tabId, opt_connectInfo) {}; 337 chrome.tabs.create = function(createProperties, opt_callback) {}; 344 chrome.tabs.detectLanguage = function(tabId, callback) {}; 353 chrome.tabs.executeScript = function(tabId, details, opt_callback) {}; 360 chrome.tabs.get = function(tabId, callback) {}; 370 chrome.tabs.getAllInWindow = function(windowId, callback) {}; 376 chrome.tabs.getCurrent = function(callback) {}; 386 chrome.tabs [all...] |
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_types.h | 68 // tabs in SessionWindow.tabs. 123 // Index of the selected tab in tabs; -1 if no tab is selected. After restore 124 // this value is guaranteed to be a valid index into tabs. 128 // tabs. When done creating though, this is set to the index in 129 // tabs. 146 // The tabs, ordered by visual order. 147 std::vector<SessionTab*> tabs; member in struct:SessionWindow
|
H A D | tab_restore_service.h | 31 // tabs and windows. When a tab is closed 115 // The tabs that comprised the window, in order. 116 std::vector<Tab> tabs; member in struct:TabRestoreService::Window 148 // of tabs has changed. 181 // Loads the tabs and previous session. This does nothing if the tabs
|
H A D | tab_restore_service_helper.cc | 128 // into the vector, which will give all tabs in a window the same ID. 130 window->tabs.push_back(Tab()); 134 PopulateTab(&(window->tabs[entry_index]), 138 if (window->tabs[entry_index].navigations.empty()) { 139 window->tabs.erase(window->tabs.begin() + entry_index); 141 window->tabs[entry_index].browser_id = delegate->GetSessionID().id(); 145 if (window->tabs.size() == 1 && window->app_name.empty()) { 149 AddEntry(new Tab(window->tabs[0]), true, true); 150 } else if (!window->tabs 378 std::vector<Tab>& tabs = static_cast<Window*>(*i)->tabs; local [all...] |
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_tabrestore_browsertest.cc | 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" 22 void AwaitTabsReady(content::DOMMessageQueue* message_queue, int tabs) { argument 23 for (int i = 0; i < tabs; ++i) { 66 // Create tabs. 84 // Restore tabs using the browser's recent tabs menu. 92 // There should be 3 restored tabs in the new browser. 102 // Create tabs. 132 // Restore tabs using that delegated restore service. 138 // There should be 3 restored tabs i [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | RecentlyClosedBridge.java | 15 * This class allows Java code to get and clear the list of recently closed tabs. 21 * Callback interface for getting notified when the list of recently closed tabs is updated. 25 * This method will be called every time the list of recently closed tabs is updated. 28 * updated list of tabs. 51 List<RecentlyClosedTab> tabs, int id, String title, String url) { 53 tabs.add(tab); 58 * @param profile The Profile whose recently closed tabs will be queried. 80 * Sets the callback to be called whenever the list of recently closed tabs changes. 88 * @param maxTabCount The maximum number of recently closed tabs to return. 89 * @return The list of recently closed tabs, wit 50 pushTab( List<RecentlyClosedTab> tabs, int id, String title, String url) argument 137 nativeGetRecentlyClosedTabs( long nativeRecentlyClosedTabsBridge, List<RecentlyClosedTab> tabs, int maxTabCount) argument [all...] |
H A D | ForeignSessionHelper.java | 16 * This class exposes to Java information about sessions, windows, and tabs on the user's synced 71 public final List<ForeignSessionTab> tabs = new ArrayList<ForeignSessionTab>(); field in class:ForeignSessionHelper.ForeignSessionWindow 117 window.tabs.add(tab);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_manager_chromeos_browsertest.cc | 22 #include "chrome/browser/ui/tabs/tab_strip_model.h" 177 TabStripModel* tabs = browser->tab_strip_model(); local 178 ASSERT_TRUE(tabs); 180 EXPECT_EQ(expected_tab_count, tabs->count()); 181 for (int i = 0; i < expected_tab_count && i < tabs->count(); ++i) { 183 tabs->GetWebContentsAt(i)->GetVisibleURL());
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | session_sync_test_helper.cc | 70 ASSERT_EQ(win_iter->size(), win_ptr->tabs.size()); 76 SessionTab* tab = win_ptr->tabs[j]; 121 std::vector<sync_pb::SessionSpecifics>* tabs) { 131 if (tabs) 132 tabs->swap(tabs1); 118 BuildForeignSession( const std::string& tag, const std::vector<SessionID::id_type>& tab_list, std::vector<sync_pb::SessionSpecifics>* tabs) argument
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | history_menu_bridge.h | 48 // all the tabs within that closed window. By convention, these submenu items 88 // retains this. During a rebuild flood (if the user closes a lot of tabs 101 // If the HistoryItem is a window, this will be the vector of tabs. Note 105 std::vector<HistoryItem*> tabs; member in struct:HistoryMenuBridge::HistoryItem
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
H A D | tab_view.h | 15 namespace tabs { namespace 37 } // namespace tabs 58 tabs::AlertState alertState_;
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | browser.py | 90 def tabs(self): member in class:Browser 98 # which means that tabs that have never been in the foreground return
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
H A D | ComponentResultsView.java | 91 ConfigTab[] tabs; field in class:ComponentResultsView 155 // Create tabs 172 this.tabs = new ConfigTab[length]; 174 this.tabs[i] = new ConfigTab(configNames[i], configDescriptions[i]); 176 for (int i=0; i<this.tabs.length; i++) { 178 item.setText (this.tabs[i].getTabText ()); 179 item.setControl (this.tabs[i].createTabFolderPage(this.componentResultsElement, this.tabFolder, this.fullLineSelection.isChecked())); 180 item.setData (this.tabs[i]); 191 int length = this.tabs==null ? 0 : this.tabs [all...] |
/external/chromium_org/chrome/installer/util/ |
H A D | master_preferences_unittest.cc | 200 TabsVector tabs = prefs.GetFirstRunTabs(); local 201 ASSERT_EQ(3, tabs.size()); 202 EXPECT_EQ("http://google.com/f1", tabs[0]); 203 EXPECT_EQ("https://google.com/f2", tabs[1]); 204 EXPECT_EQ("new_tab_page", tabs[2]);
|
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_cocoa.h | 104 // The tabs owned by a tablist. 105 @property(nonatomic, readonly) NSArray* tabs; variable
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
H A D | sessions_api.cc | 17 #include "chrome/browser/extensions/api/tabs/windows_util.h" 33 #include "chrome/browser/ui/tabs/tab_strip_model.h" 48 namespace tabs = api::tabs; 67 // Comparator function for use with std::sort that will sort tabs in a window 73 scoped_ptr<tabs::Tab> CreateTabModelHelper( 81 scoped_ptr<tabs::Tab> tab_struct(new tabs::Tab); 107 scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs, 106 CreateWindowModelHelper( scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs, const std::string& session_id, const windows::Window::Type& type, const windows::Window::State& state) argument [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
H A D | recent_tabs_builder_test_helper.cc | 73 std::vector<TabInfo> tabs; member in struct:RecentTabsBuilderTestHelper::WindowInfo 148 sessions_[session_index].windows[window_index].tabs.push_back(tab_info); 153 return sessions_[session_index].windows[window_index].tabs.size(); 159 return sessions_[session_index].windows[window_index].tabs[tab_index].id; 166 .tabs[tab_index].timestamp; 173 sessions_[session_index].windows[window_index].tabs[tab_index].title; 233 ASSERT_EQ(GetTabCount(s, w), static_cast<int>(windows[w]->tabs.size())); 239 std::vector<TitleTimestampPair> tabs; local 246 tabs.push_back(pair); 250 sort(tabs [all...] |
/external/chromium_org/chrome/browser/ui/webui/memory_internals/ |
H A D | memory_internals_proxy.cc | 310 base::ListValue* tabs; local 311 if (!process->GetList("history", &tabs)) { 312 tabs = new base::ListValue(); 313 process->Set("history", tabs); 317 tabs->Append(tab);
|
/external/chromium_org/remoting/webapp/js_proto/ |
H A D | chrome_proto.js | 293 chrome.tabs = {}; 296 chrome.tabs.getCurrent = function(callback) {}; 302 chrome.tabs.create = function(options, opt_callback) {}; 308 chrome.tabs.get = function(id, callback) {}; 314 chrome.tabs.remove = function(id, opt_callback) {};
|
/external/chromium_org/chrome/browser/apps/ |
H A D | app_browsertest.cc | 24 #include "chrome/browser/ui/tabs/tab_strip_model.h" 88 // This class keeps track of tabs as they are added to the browser. It will be 89 // "done" (i.e. won't block on Wait()) once |observations| tabs have been added. 109 const std::vector<content::WebContents*>& tabs() { return observed_tabs_; } function in class:extensions::__anon2885::TabsAddedNotificationObserver 378 ASSERT_EQ(2U, observer.tabs().size()); 380 observer.tabs()[0]->GetURL().spec()); 382 observer.tabs()[1]->GetURL().spec());
|