/external/chromium_org/tools/page_cycler/webpagereplay/extension/ |
page_cycler.js | 48 chrome.tabs.getSelected(null, function(tab) { 50 chrome.tabs.update(tab.id, {"url": reportUrl}, null);
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_session_unittest.cc | 223 // Get the tabs for this machine from the node and check that they were 227 // Tabs are ordered by sessionid in tab_map, so should be able to traverse 228 // the tree based on order of tabs created 296 ASSERT_EQ(1U, foreign_sessions[0]->windows[0]->tabs.size()); 297 ASSERT_EQ(1U, foreign_sessions[0]->windows[0]->tabs[0]->navigations.size()); 301 ASSERT_EQ(13, foreign_sessions[0]->windows[0]->tabs[0]->tab_visual_index); 303 foreign_sessions[0]->windows[0]->tabs[0]->current_navigation_index); 304 ASSERT_TRUE(foreign_sessions[0]->windows[0]->tabs[0]->pinned); 306 foreign_sessions[0]->windows[0]->tabs[0]->extension_app_id); 308 foreign_sessions[0]->windows[0]->tabs[0]->navigations[0].index()) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
bg.js | 77 "tabCreated": chrome.tabs.onCreated, 78 "tabMoved": chrome.tabs.onMoved, 79 "tabRemoved": chrome.tabs.onRemoved, 80 "tabSelectionChanged": chrome.tabs.onSelectionChanged, 81 "tabAttached": chrome.tabs.onAttached, 82 "tabDetached": chrome.tabs.onDetached, 83 "tabNavigated": chrome.tabs.onUpdated, 347 chrome.tabs.get(tabId, function(tab) {
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
sessions_api.h | 15 #include "chrome/common/extensions/api/tabs.h" 36 scoped_ptr<api::tabs::Tab> CreateTabModel(const TabRestoreService::Tab& tab, 53 scoped_ptr<api::tabs::Tab> CreateTabModel(const std::string& session_tag,
|
/external/chromium_org/chrome/browser/ui/startup/ |
startup_browser_creator_impl.h | 39 // Assists launching the application and appending the initial tabs for a 66 // Tabs. 72 // Creates a tab for each of the Tabs in |tabs|. If browser is non-null 73 // and a tabbed browser, the tabs are added to it. Otherwise a new tabbed 74 // browser is created and the tabs are added to it. The browser the tabs 79 const StartupTabs& tabs, 129 // . Attempts to restore any pinned tabs from last run of chrome. 134 // If any tabs were opened, the Browser which was created is returned [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/ |
background.js | 13 chrome.tabs.executeScript(request.tabId, {
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/ |
background.js | 15 chrome.tabs.onUpdated.addListener(checkForValidUrl);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/ |
background.js | 36 chrome.tabs.create({ url: action_url }); 39 // blank tabs being left behind. 41 chrome.tabs.update(tab_id, { url: action_url }); 66 chrome.tabs.executeScript(null, {file: "content_script.js"});
|
/external/chromium_org/extensions/browser/ |
file_highlighter_unittest.cc | 27 " \"tabs\"\n" 50 " \"tabs\"\n" 56 const char kTabsFeature[] = "\"tabs\""; 57 ManifestHighlighter tabs(kManifest, "permissions", "tabs"); 58 EXPECT_EQ(kTabsFeature, tabs.GetFeature());
|
/external/chromium/chrome/browser/ui/ |
browser_init.cc | 46 #include "chrome/browser/tabs/pinned_tab_codec.h" 47 #include "chrome/browser/tabs/tab_strip_model.h" 436 std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) { 441 tabs->push_back(tab); 686 // Open the required browser windows and tabs. First, see if 688 // opened an app shortcut. Don't restore tabs or open initial 912 std::vector<Tab> tabs = PinnedTabCodec::ReadPinnedTabs(profile_); local 914 RecordAppLaunches(profile_, urls_to_open, tabs); 918 UrlsToTabs(urls_to_open, &tabs); 964 std::vector<Tab> tabs; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/contentSettings/ |
popup.js | 24 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { 25 var current = tabs[0];
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
xmltools.py | 190 #Function for adding tabs to a string 192 tabs = ch*steps 194 s = tabs + s.replace("\n", "\n"+tabs) 196 s = tabs + s.replace("\n", "\n"+tabs) 197 s = s[ : -len(tabs)]
|
/external/chromium/chrome/browser/sessions/ |
session_service.cc | 25 #include "chrome/browser/tabs/tab_strip_model.h" 231 // list of tabs to close. If the user creates another window, the close is 240 // . closing a tab and there are other windows/tabs open. 753 std::map<int, SessionTab*> tabs; local 756 if (CreateTabsAndWindows(commands, &tabs, &windows)) { 757 AddTabsToWindows(&tabs, &windows); 761 STLDeleteValues(&tabs); 772 for (std::vector<SessionTab*>::const_iterator j = (*i)->tabs.begin(); 773 j != (*i)->tabs.end(); ++j) { 775 new_index = static_cast<int>(j - (*i)->tabs.begin()) [all...] |
/external/chromium_org/chrome/browser/sessions/ |
persistent_tab_restore_service.cc | 70 // Indicates we've asked for the last sessions and tabs but haven't gotten the 74 // Indicates we finished loading the last tabs (but not necessarily the last 79 // last tabs). 180 // closed tabs. This creates entries, adds them to staging_entries_, and 204 // Invoked when previous tabs or session is loaded. If both have finished 228 // Results from previously closed tabs/sessions is first added here. When the 233 // Used when loading previous tabs/session and open tabs/session. 285 // Mark all the tabs as closed so that we don't attempt to restore them. 357 // Request the tabs closed in the last session. If the last session crashed [all...] |
persistent_tab_restore_service_unittest.cc | 42 // for closed tabs and windows. 263 // Recreate the service and have it load the tabs. 302 // Recreate the service and have it load the tabs. 332 // Recreate the service and have it load the tabs. 359 // Recreate the service and have it load the tabs. 389 ASSERT_EQ(1U, window->tabs.size()); 392 ASSERT_EQ(1U, window->tabs[0].navigations.size()); 393 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 394 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); 395 EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()) [all...] |
session_service.cc | 38 #include "chrome/browser/ui/tabs/tab_strip_model.h" 286 // list of tabs to close. If the user creates another window, the close is 295 // . closing a tab and there are other windows/tabs open. 857 std::map<int, SessionTab*> tabs; local 861 if (CreateTabsAndWindows(commands, &tabs, &windows, active_window_id)) { 862 AddTabsToWindows(&tabs, &windows); 866 STLDeleteValues(&tabs); 877 for (std::vector<SessionTab*>::const_iterator j = (*i)->tabs.begin(); 878 j != (*i)->tabs.end(); ++j) { 880 new_index = static_cast<int>(j - (*i)->tabs.begin()) [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 5 #include "chrome/browser/ui/views/tabs/dragged_tab_controller.h" 14 #include "chrome/browser/tabs/tab_strip_model.h" 17 #include "chrome/browser/ui/views/tabs/base_tab.h" 18 #include "chrome/browser/ui/views/tabs/base_tab_strip.h" 19 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" 20 #include "chrome/browser/ui/views/tabs/dragged_tab_view.h" 21 #include "chrome/browser/ui/views/tabs/native_view_photobooth.h" 22 #include "chrome/browser/ui/views/tabs/side_tab.h" 23 #include "chrome/browser/ui/views/tabs/side_tab_strip.h" 24 #include "chrome/browser/ui/views/tabs/tab.h 869 std::vector<BaseTab*> tabs = local 1094 std::vector<BaseTab*> tabs; local 1143 std::vector<BaseTab*> tabs; local [all...] |
tab_strip.cc | 5 #include "chrome/browser/ui/views/tabs/tab_strip.h" 15 #include "chrome/browser/ui/views/tabs/tab.h" 16 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" 130 // The animations may reference the tabs. Shut down the animation before we 131 // delete the tabs. 141 // The children (tabs) may callback to us from their destructor. Delete them 213 // user closes tabs with the mouse a tab continues to fall under the mouse. 230 // We have "tiny tabs" if the tabs are so tiny that the unselected ones are 272 // Tabs are painted in reverse order, so they stack to the left [all...] |
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_event_router.cc | 5 #include "chrome/browser/extensions/api/tabs/tabs_event_router.h" 10 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 11 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 12 #include "chrome/browser/extensions/api/tabs/windows_event_router.h" 19 #include "chrome/browser/ui/tabs/tab_strip_model.h" 38 namespace tabs = api::tabs; 143 // possible for tabs to be created, detached and then destroyed without 195 scoped_ptr<Event> event(new Event(tabs::OnCreated::kEventName, args.Pass())); 229 DispatchEvent(profile, tabs::OnAttached::kEventName, args.Pass() [all...] |
tabs_api.cc | 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 24 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 25 #include "chrome/browser/extensions/api/tabs/windows_util.h" 48 #include "chrome/browser/ui/tabs/tab_strip_model.h" 53 #include "chrome/common/extensions/api/tabs.h" 95 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h" 110 namespace tabs = api::tabs; 112 using api::tabs::InjectDetails; 786 // Tabs ----------------------------------------------------------------------- [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_widgets.py | 597 tabs = self.nb.tabs() 600 self.assertEqual(self.nb.tabs(), tabs) 604 tabs = self.nb.tabs() 611 self.assertEqual(self.nb.tabs(), tabs) 613 self.assertTrue(str(self.child2) == self.nb.tabs()[child2_index]) 623 tabs = self.nb.tabs( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_widgets.py | 597 tabs = self.nb.tabs() 600 self.assertEqual(self.nb.tabs(), tabs) 604 tabs = self.nb.tabs() 611 self.assertEqual(self.nb.tabs(), tabs) 613 self.assertTrue(str(self.child2) == self.nb.tabs()[child2_index]) 623 tabs = self.nb.tabs( [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
global_history_menu.cc | 85 // If the HistoryItem is a window, this will be the vector of tabs. Note 89 std::vector<HistoryItem*> tabs; member in class:GlobalHistoryMenu::HistoryItem 309 std::vector<TabRestoreService::Tab>& tabs = entry_win->tabs; local 310 if (tabs.empty()) 338 // Loop over the window's tabs and add them to the submenu. 341 for (iter = tabs.begin(); iter != tabs.end(); ++iter) { 344 item->tabs.push_back(tab_item); 351 std::string title = item->tabs.size() == 1 [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ui/ |
results.js | 374 $(this).tabs(); 378 var nextIndex = $(this).tabs('option', 'selected') + 1; 379 if (nextIndex >= $(this).tabs('length')) 381 $(this).tabs('option', 'selected', nextIndex); 386 var previousIndex = $(this).tabs('option', 'selected') - 1; 389 $(this).tabs('option', 'selected', previousIndex); 394 $(this).tabs('option', 'selected', 0); 398 $(this).tabs('option', 'selected', $(this).tabs('length') - 1);
|
/external/chromium_org/tools/json_schema_compiler/ |
cpp_type_generator_test.py | 36 self.tabs_json = CachedLoad('test/tabs.json') 37 self.tabs = self.models['tabs'].AddNamespace(self.tabs_json[0], 38 'path/to/tabs.json') 55 m.AddNamespace(self.tabs_json[0], 'path/to/tabs.json') 59 self.assertEquals('#include "path/to/tabs.h"', 61 self.assertEquals('namespace tabs {\n' 95 manager = CppTypeGenerator(self.models.get('tabs'), _FakeSchemaLoader(None)) 98 manager.GetCppType(self.tabs.types['Tab'].properties['id'].type_)) 101 manager.GetCppType(self.tabs.types['Tab'].properties['status'].type_) [all...] |