Home | History | Annotate | Download | only in tabs

Lines Matching full:tabs

5 #include "chrome/browser/tabs/tab_strip_model.h"
23 #include "chrome/browser/tabs/tab_strip_model_delegate.h"
24 #include "chrome/browser/tabs/tab_strip_model_order_controller.h"
120 // Force app tabs to be pinned.
272 // This would result in mini tabs mixed with non-mini tabs. We don't allow
290 // To maintain that all mini-tabs occur before non-mini-tabs we move them
297 // We're being told to drag mini-tabs to an invalid location. Adjust the
298 // index such that non-mini-tabs end up at a location as though we could
299 // move the mini-tabs to index. See description in header for more
307 // Then move the non-pinned tabs.
399 // Check tabs after start_index first.
404 // Then check tabs before start_index, iterating backwards.
505 // App tabs should always be pinned.
560 // No mini-tabs.
629 // We assume tabs opened via link clicks are part of the same task as their
678 // background tabs. With enough background tabs they will steal the
820 // Copy the TabContents off as the indices will change as tabs are
822 std::vector<TabContentsWrapper*> tabs;
824 tabs.push_back(GetTabContentsAt(indices[i]));
825 for (size_t i = 0; i < tabs.size(); ++i) {
826 int index = GetIndexOfTabContents(tabs[i]);
839 std::vector<TabContentsWrapper*> tabs;
841 tabs.push_back(GetTabContentsAt(indices[i]));
842 for (size_t i = 0; i < tabs.size() && delegate_->CanCloseTab(); ++i) {
843 int index = GetIndexOfTabContents(tabs[i]);
965 // If all tabs are pinned, then we unpin, otherwise we pin.
968 if (!IsAppTab(index)) // We never change app tabs.
1071 // If there is no group, find all tabs with the selected tab as the opener.
1111 // tabs we're ok. Crashes seem to indicate during tab deletion other tabs are
1113 std::vector<TabContentsWrapper*> tabs;
1115 tabs.push_back(GetContentsAt(indices[i]));
1121 // Construct a map of processes to the number of associated tabs that are
1142 // Try to fast shutdown the tabs that can close.
1151 for (size_t i = 0; i < tabs.size(); ++i) {
1152 TabContentsWrapper* detached_contents = tabs[i];
1279 // First move those before index. Any tabs before index end up moving in the