HomeSort by relevance Sort by last modified time
    Searched refs:tabs (Results 76 - 100 of 349) sorted by null

1 2 34 5 6 7 8 91011>>

  /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/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...]
browser_init.h 31 // tabs shown at first run.
73 // Assists launching the application and appending the initial tabs for a
115 // Tabs.
120 // Creates a tab for each of the Tabs in |tabs|. If browser is non-null
121 // and a tabbed browser, the tabs are added to it. Otherwise a new tabbed
122 // browser is created and the tabs are added to it. The browser the tabs
127 const std::vector<Tab>& tabs);
159 // . Attempts to restore any pinned tabs from last run of chrome and
    [all...]
  /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...]
session_service_test_helper.cc 91 EXPECT_EQ(1U, windows[0]->tabs.size());
92 EXPECT_EQ(nav_count, windows[0]->tabs[0]->navigations.size());
  /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_browsertest.cc 46 // for closed tabs and windows.
266 // Recreate the service and have it load the tabs.
305 // Recreate the service and have it load the tabs.
364 // Recreate the service and have it load the tabs.
391 // Recreate the service and have it load the tabs.
421 ASSERT_EQ(1U, window->tabs.size());
424 ASSERT_EQ(1U, window->tabs[0].navigations.size());
425 EXPECT_EQ(0, window->tabs[0].current_navigation_index);
426 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue());
427 EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url())
    [all...]
session_service.cc 34 #include "chrome/browser/ui/tabs/tab_strip_model.h"
282 // list of tabs to close. If the user creates another window, the close is
291 // . closing a tab and there are other windows/tabs open.
854 std::map<int, SessionTab*> tabs; local
858 if (CreateTabsAndWindows(commands, &tabs, &windows, active_window_id)) {
859 AddTabsToWindows(&tabs, &windows);
863 STLDeleteValues(&tabs);
874 for (std::vector<SessionTab*>::const_iterator j = (*i)->tabs.begin();
875 j != (*i)->tabs.end(); ++j) {
877 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...]
tab_strip.h 11 #include "chrome/browser/ui/views/tabs/base_tab_strip.h"
36 // container for Tabs, and is also responsible for creating them.
38 // DraggedTab, focusing on tasks that require reshuffling other tabs
39 // in response to dragged tabs.
93 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
98 const std::vector<BaseTab*>& tabs,
100 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) OVERRIDE;
111 // Horizontal gap between mini and non-mini-tabs.
126 // which indicates the drop should create a new tab at the end of the tabs.
161 // Returns the number of mini-tabs
    [all...]
side_tab_strip.cc 5 #include "chrome/browser/ui/views/tabs/side_tab_strip.h"
8 #include "chrome/browser/ui/views/tabs/side_tab.h"
9 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
32 // Padding between tabs and scroll button.
193 // Make sure any tabs being dragged appear on top of all others by painting
203 // Paint the new tab and separator first so that any tabs animating appear on
248 // All the tabs fit, no need to scroll.
382 void SideTabStrip::LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
390 for (size_t i = 0; i < tabs.size(); ++i) {
391 BaseTab* tab = tabs[i]
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/tabs/
tabs_api.cc 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
26 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
49 #include "chrome/browser/ui/tabs/tab_strip_model.h"
54 #include "chrome/common/extensions/api/tabs.h"
98 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h"
118 namespace tabs = api::tabs;
119 typedef tabs::CaptureVisibleTab::Params::Options FormatEnum;
121 using api::tabs::InjectDetails;
861 // Tabs -----------------------------------------------------------------------
    [all...]
tabs_interactive_test.cc 6 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
48 base::ListValue* tabs = NULL; local
49 EXPECT_FALSE(result.get()->GetList(keys::kTabsKey, &tabs));
61 // "populate" was enabled so tabs should be populated.
62 EXPECT_TRUE(result.get()->GetList(keys::kTabsKey, &tabs));
86 // Get tabs in the 'last focused' window called from non-focused browser.
104 // Get tabs NOT in the 'last focused' window called from the focused browser.
128 ASSERT_TRUE(RunExtensionTest("tabs/current_window")) << message_;
  /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/chrome/test/perf/
memory_test.cc 107 // This memory test loads a set of URLs across a set of tabs, maintaining the
108 // number of concurrent open tabs at num_target_tabs.
508 #define GENERAL_MIX_MEMORY_TESTS(name, tabs) \
510 RunTest(QUOTE(_##tabs##t), tabs); \
513 RunTest(QUOTE(_##tabs##t_ref), tabs); \
  /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...]
  /external/chromium_org/chrome/browser/ui/tabs/
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)
  /external/chromium_org/chrome/browser/ui/webui/ntp/
recently_closed_tabs_handler.cc 39 DCHECK(!window.tabs.empty());
42 for (size_t i = 0; i < window.tabs.size(); ++i) {
44 TabToValue(window.tabs[i], tab_value);
50 dictionary->Set("tabs", tab_values.release());
186 // This does nothing if the tabs have already been loaded or they

Completed in 388 milliseconds

1 2 34 5 6 7 8 91011>>