Searched refs:tabs (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium/chrome/browser/debugger/
H A Dbrowser_list_tabcontents_provider.cc7 #include "chrome/browser/tabs/tab_strip_model.h"
12 DevToolsHttpProtocolHandler::InspectableTabs tabs; local
17 tabs.push_back(model->GetTabContentsAt(i));
19 return tabs;
/external/chromium/chrome/browser/resources/options/
H A Dsubpages_tab_controls.css7 .subpages-nav-tabs .tab {
12 .subpages-nav-tabs .active-tab {
21 /* To avoid tabs changing size when they are clicked and their labels become
26 .subpages-nav-tabs .active-tab-label {
30 .subpages-nav-tabs .tab-label {
36 html[dir=rtl] .subpages-nav-tabs .tab-label {
40 .subpages-nav-tabs .active-tab-label,
41 .subpages-nav-tabs .active-tab .tab-label {
48 .subpages-nav-tabs .active-tab .active-tab-label {
52 .subpages-nav-tabs {
[all...]
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/
H A Dscreenshot.js6 chrome.tabs.captureVisibleTab(null, function(img) {
11 chrome.tabs.create({url: viewTabUrl}, function(tab) {
24 chrome.tabs.onUpdated.removeListener(addSnapshotImageToTab);
39 chrome.tabs.onUpdated.addListener(addSnapshotImageToTab);
/external/chromium/chrome/browser/sessions/
H A Dtab_restore_service.cc143 std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin();
144 for ( ; j != window->tabs.end(); ++j) {
145 // If the ID matches one of this window's tabs, remove it from the list.
147 window->tabs.erase(j);
241 // into the vector, which will give all tabs in a window the same ID.
243 window->tabs.push_back(Tab());
247 PopulateTab(&(window->tabs[entry_index]),
251 if (window->tabs[entry_index].navigations.empty()) {
252 window->tabs.erase(window->tabs
553 std::vector<Tab>& tabs = static_cast<Window*>(*i)->tabs; local
[all...]
H A Dsession_service_unittest.cc116 EXPECT_EQ(1U, windows[0]->tabs.size());
120 SessionTab* tab = windows[0]->tabs[0];
163 ASSERT_EQ(1U, windows[0]->tabs.size());
166 SessionTab* tab = windows[0]->tabs[0];
216 ASSERT_EQ(1U, windows[0]->tabs.size());
218 SessionTab* tab = windows[0]->tabs[0];
246 ASSERT_EQ(1U, windows[0]->tabs.size());
248 SessionTab* tab = windows[0]->tabs[0];
285 ASSERT_EQ(1U, windows[0]->tabs.size());
286 ASSERT_EQ(1U, windows[1]->tabs
[all...]
H A Dtab_restore_service_browsertest.cc18 // for closed tabs and windows.
181 // Recreate the service and have it load the tabs.
220 // Recreate the service and have it load the tabs.
250 // Recreate the service and have it load the tabs.
277 // Recreate the service and have it load the tabs.
300 ASSERT_EQ(1U, window->tabs.size());
303 ASSERT_EQ(1U, window->tabs[0].navigations.size());
304 EXPECT_EQ(0, window->tabs[0].current_navigation_index);
305 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue());
306 EXPECT_TRUE(url1_ == window->tabs[
[all...]
H A Dsession_service.cc25 #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
796 GetTab( SessionID::id_type tab_id, IdToSessionTab* tabs) argument
866 AddTabsToWindows(std::map<int, SessionTab*>* tabs, std::map<int, SessionWindow*>* windows) argument
895 CreateTabsAndWindows( const std::vector<SessionCommand*>& data, std::map<int, SessionTab*>* tabs, std::map<int, SessionWindow*>* windows) argument
[all...]
H A Dsession_service_test_helper.cc91 EXPECT_EQ(1U, windows[0]->tabs.size());
92 EXPECT_EQ(nav_count, windows[0]->tabs[0]->navigations.size());
/external/chromium/chrome/browser/ui/webui/
H A Dvalue_helper.cc30 if (window.tabs.empty()) {
35 for (size_t i = 0; i < window.tabs.size(); ++i) {
37 if (TabToValue(window.tabs[i], tab_value.get()))
44 dictionary->Set("tabs", tab_values.release());
/external/chromium/chrome/browser/ui/views/tabs/
H A Dbase_tab_strip.cc5 #include "chrome/browser/ui/views/tabs/base_tab_strip.h"
9 #include "chrome/browser/ui/views/tabs/dragged_tab_controller.h"
10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
259 // tabs and have the close click close the next tab.
307 // mouse is down... during an animation tabs are being resized automatically,
320 std::vector<BaseTab*> tabs; local
324 // Build the set of selected tabs to drag and calculate the offset from the
329 tabs.push_back(other_tab);
331 size_to_selected = GetSizeNeededForTabs(tabs);
339 DCHECK(!tabs
472 StartedDraggingTabs(const std::vector<BaseTab*>& tabs) argument
496 StoppedDraggingTabs(const std::vector<BaseTab*>& tabs) argument
[all...]
H A Dside_tab_strip.h9 #include "chrome/browser/ui/views/tabs/base_tab_strip.h"
16 // The tabs are inset by this much along all axis.
51 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
56 const std::vector<BaseTab*>& tabs,
58 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) OVERRIDE;
70 // Returns the max visible y-coordinate for tabs.
86 // Separator between mini-tabs and the new tab button. The separator is
87 // positioned above the visible area if there are no mini-tabs.
94 // scrolled the tabs this is non-zero.
97 // Height needed to display the tabs, separato
[all...]
H A Ddragged_tab_controller.cc5 #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/ta
351 Init(BaseTabStrip* source_tabstrip, BaseTab* source_tab, const std::vector<BaseTab*>& tabs, const gfx::Point& mouse_offset, int source_tab_offset) argument
869 std::vector<BaseTab*> tabs = local
1094 std::vector<BaseTab*> tabs; local
1143 std::vector<BaseTab*> tabs; local
[all...]
H A Dtab_strip.cc5 #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
302 // Make sure non-active tabs ar
476 LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, BaseTab* active_tab, const gfx::Point& location, bool initial_drag) argument
505 CalculateBoundsForDraggedTabs(const std::vector<BaseTab*>& tabs, std::vector<gfx::Rect>* bounds) argument
519 GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) argument
[all...]
H A Dbase_tab_strip.h12 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h"
13 #include "chrome/browser/ui/views/tabs/base_tab.h"
14 #include "chrome/browser/ui/views/tabs/tab_controller.h"
89 // WARNING: this is the number of tabs displayed by the tabstrip, which if
90 // an animation is ongoing is not necessarily the same as the number of tabs
181 // Resets the bounds of all non-closing tabs.
184 // Invoked during drag to layout the tabs being dragged in |tabs| at
187 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
192 // Calculates the bounds needed for each of the tabs, placin
[all...]
H A Dtab_strip.h11 #include "chrome/browser/ui/views/tabs/base_tab_strip.h"
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.
171 // desired strip width and number of tabs
[all...]
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/
H A Dchrome_ex_oauth.js74 var tabs = {};
75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
78 changeInfo.url != tabs[tabId] &&
80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) {
81 tabs[tab.id] = tab.url;
82 chrome.tabs.remove(tabId);
105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) });
272 chrome.tabs.getSelected(null, function (tab) {
273 chrome.tabs.remove(tab.id);
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
H A Dchrome_ex_oauth.js74 var tabs = {};
75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
78 changeInfo.url != tabs[tabId] &&
80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) {
81 tabs[tab.id] = tab.url;
82 chrome.tabs.remove(tabId);
105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) });
272 chrome.tabs.getSelected(null, function (tab) {
273 chrome.tabs.remove(tab.id);
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/
H A Dchrome_ex_oauth.js74 var tabs = {};
75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
78 changeInfo.url != tabs[tabId] &&
80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) {
81 tabs[tab.id] = tab.url;
82 chrome.tabs.remove(tabId);
105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) });
272 chrome.tabs.getSelected(null, function (tab) {
273 chrome.tabs.remove(tab.id);
/external/chromium/chrome/browser/ui/cocoa/tabs/
H A Dtab_view.h18 namespace tabs { namespace
36 } // namespace tabs
57 tabs::AlertState alertState_;
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/
H A Dbg.js77 "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/chrome/browser/ui/touch/tabs/
H A Dtouch_tab_strip.h9 #include "chrome/browser/ui/views/tabs/base_tab_strip.h"
46 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
51 const std::vector<BaseTab*>& tabs,
53 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs);
82 // given point. If the scroll is not beyond the minimum threshold, the tabs
95 // Adjust the positions of the tabs to perform a scroll of |delta_x| relative
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtab_control.css27 .tab-control > .tabs {
34 .tab-control > .tabs > :not([selected]) {
/external/chromium/chrome/browser/ui/cocoa/applescript/
H A Dwindow_applescript.h44 // The tabs inside the window.
45 // Returns |TabAppleScript*| of all the tabs contained
47 - (NSArray*)tabs;
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_session_unittest.cc223 // Get the tabs for this machine from the node and check that they were
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());
310 foreign_sessions[0]->windows[0]->tabs[
[all...]
/external/chromium/chrome/browser/ui/
H A Dbrowser_init.cc46 #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);
923 AddUniqueURLs(pref.urls, &tabs);
435 UrlsToTabs(const std::vector<GURL>& urls, std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) argument
939 AddUniqueURLs( const std::vector<GURL>& urls, std::vector<Tab>* tabs) argument
964 std::vector<Tab> tabs; local
969 OpenTabsInBrowser( Browser* browser, bool process_startup, const std::vector<Tab>& tabs) argument
[all...]

Completed in 382 milliseconds

123