Home
last modified time | relevance | path

Searched refs:window_id (Results 1 – 25 of 25) sorted by relevance

/external/chromium/chrome/browser/sessions/
Dsession_service_unittest.cc49 service()->SetWindowType(window_id, Browser::TYPE_NORMAL); in SetUp()
50 service()->SetWindowBounds(window_id, window_bounds, false); in SetUp()
66 void UpdateNavigation(const SessionID& window_id, in UpdateNavigation() argument
79 service()->UpdateTabNavigation(window_id, tab_id, index, entry); in UpdateNavigation()
81 service()->SetSelectedNavigationIndex(window_id, tab_id, index); in UpdateNavigation()
104 helper_.PrepareTabInWindow(window_id, tab_id, 0, true); in CreateAndWriteSessionWithOneTab()
105 UpdateNavigation(window_id, tab_id, nav1, 0, true); in CreateAndWriteSessionWithOneTab()
108 helper_.service()->SetPinnedState(window_id, tab_id, pinned_state); in CreateAndWriteSessionWithOneTab()
121 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab); in CreateAndWriteSessionWithOneTab()
132 SessionID window_id; member in SessionServiceTest
[all …]
Dsession_service.cc98 SessionID::id_type window_id; member
179 void SessionService::SetTabWindow(const SessionID& window_id, in SetTabWindow() argument
181 if (!ShouldTrackChangesToWindow(window_id)) in SetTabWindow()
184 ScheduleCommand(CreateSetTabWindowCommand(window_id, tab_id)); in SetTabWindow()
187 void SessionService::SetWindowBounds(const SessionID& window_id, in SetWindowBounds() argument
190 if (!ShouldTrackChangesToWindow(window_id)) in SetWindowBounds()
193 ScheduleCommand(CreateSetWindowBoundsCommand(window_id, bounds, in SetWindowBounds()
197 void SessionService::SetTabIndexInWindow(const SessionID& window_id, in SetTabIndexInWindow() argument
200 if (!ShouldTrackChangesToWindow(window_id)) in SetTabIndexInWindow()
206 void SessionService::SetPinnedState(const SessionID& window_id, in SetPinnedState() argument
[all …]
Dsession_service.h76 void SetTabWindow(const SessionID& window_id,
80 void SetWindowBounds(const SessionID& window_id,
85 void SetTabIndexInWindow(const SessionID& window_id,
90 void SetPinnedState(const SessionID& window_id,
99 void TabClosed(const SessionID& window_id,
104 void WindowClosing(const SessionID& window_id);
107 void WindowClosed(const SessionID& window_id);
112 void SetWindowType(const SessionID& window_id, Browser::Type type);
116 void TabNavigationPathPrunedFromBack(const SessionID& window_id,
122 void TabNavigationPathPrunedFromFront(const SessionID& window_id,
[all …]
Dsession_service_test_helper.cc29 void SessionServiceTestHelper::PrepareTabInWindow(const SessionID& window_id, in PrepareTabInWindow() argument
33 service()->SetTabWindow(window_id, tab_id); in PrepareTabInWindow()
34 service()->SetTabIndexInWindow(window_id, tab_id, visual_index); in PrepareTabInWindow()
36 service()->SetSelectedTabInWindow(window_id, visual_index); in PrepareTabInWindow()
40 const SessionID& window_id, in SetTabExtensionAppID() argument
43 service()->SetTabExtensionAppID(window_id, tab_id, extension_app_id); in SetTabExtensionAppID()
55 void SessionServiceTestHelper::AssertTabEquals(SessionID& window_id, in AssertTabEquals() argument
61 EXPECT_EQ(window_id.id(), session_tab.window_id.id()); in AssertTabEquals()
Dsession_service_test_helper.h33 void PrepareTabInWindow(const SessionID& window_id,
38 void SetTabExtensionAppID(const SessionID& window_id,
45 void AssertTabEquals(SessionID& window_id,
Dtab_restore_service_browsertest.cc87 SessionID window_id; in AddWindowWithOneTabToSessionService() local
88 session_service->SetWindowType(window_id, Browser::TYPE_NORMAL); in AddWindowWithOneTabToSessionService()
89 session_service->SetTabWindow(window_id, tab_id); in AddWindowWithOneTabToSessionService()
90 session_service->SetTabIndexInWindow(window_id, tab_id, 0); in AddWindowWithOneTabToSessionService()
91 session_service->SetSelectedTabInWindow(window_id, 0); in AddWindowWithOneTabToSessionService()
93 session_service->SetPinnedState(window_id, tab_id, true); in AddWindowWithOneTabToSessionService()
96 session_service->UpdateTabNavigation(window_id, tab_id, 0, entry); in AddWindowWithOneTabToSessionService()
Dsession_types.h106 SessionID window_id; member
154 SessionID window_id; member
Dtab_restore_service.cc92 SessionID::id_type window_id; member
653 payload.window_id = id; in CreateWindowCommand()
777 payload.window_id = old_payload.window_id; in CreateEntriesFromCommands()
791 RemoveEntryByID(payload.window_id, &id_to_entry, &(entries.get())); in CreateEntriesFromCommands()
797 id_to_entry[payload.window_id] = current_window; in CreateEntriesFromCommands()
/external/chromium/chrome/browser/extensions/
Dextension_tab_id_map.cc69 contents->controller().window_id().id())); in Observe()
83 controller->window_id().id())); in Observe()
126 int render_process_host_id, int routing_id, int tab_id, int window_id) { in SetTabAndWindowId() argument
129 map_[render_id] = TabAndWindowId(tab_id, window_id); in SetTabAndWindowId()
140 int render_process_host_id, int routing_id, int* tab_id, int* window_id) { in GetTabAndWindowId() argument
146 *window_id = iter->second.second; in GetTabAndWindowId()
Dextension_tabs_module.cc57 const int window_id,
96 return tab_contents->controller().window_id().id(); in GetWindowIdOfTab()
256 int window_id; in RunImpl() local
257 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &window_id)); in RunImpl()
259 Browser* browser = GetBrowserInProfileWithId(profile(), window_id, in RunImpl()
263 keys::kWindowNotFoundError, base::IntToString(window_id)); in RunImpl()
523 int window_id; in RunImpl() local
524 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &window_id)); in RunImpl()
528 Browser* browser = GetBrowserInProfileWithId(profile(), window_id, in RunImpl()
532 keys::kWindowNotFoundError, base::IntToString(window_id)); in RunImpl()
[all …]
Dextension_webrequest_api.cc96 int* window_id, in ExtractRequestInfo() argument
104 info->child_id(), info->route_id(), tab_id, window_id); in ExtractRequestInfo()
147 int window_id; member
149 RequestFilter() : tab_id(-1), window_id(-1) {} in RequestFilter()
241 if (!value.GetInteger("windowId", &window_id)) in InitFromValue()
302 int window_id = -1; in OnBeforeRequest() local
304 ExtractRequestInfo(request, &tab_id, &window_id, &resource_type); in OnBeforeRequest()
308 tab_id, window_id, resource_type); in OnBeforeRequest()
499 int window_id, in GetMatchingListeners() argument
511 if (it->filter.window_id != -1 && window_id != it->filter.window_id) in GetMatchingListeners()
[all …]
Dextension_tab_id_map.h30 int render_process_host_id, int routing_id, int* tab_id, int* window_id);
46 int render_process_host_id, int routing_id, int tab_id, int window_id);
Dextension_browser_event_router.cc99 const int window_id, in DispatchSimpleBrowserEvent() argument
102 args.Append(Value::CreateIntegerValue(window_id)); in DispatchSimpleBrowserEvent()
245 int window_id = extension_misc::kUnknownWindowId; in OnBrowserSetLastActive() local
247 window_id = ExtensionTabUtil::GetWindowId(browser); in OnBrowserSetLastActive()
249 if (focused_window_id_ == window_id) in OnBrowserSetLastActive()
252 focused_window_id_ = window_id; in OnBrowserSetLastActive()
Dextension_webrequest_api.h116 int window_id,
Dextension_host.cc821 int window_id = extension_misc::kUnknownWindowId; in GetBrowserWindowID() local
829 window_id = ExtensionTabUtil::GetWindowId(browser); in GetBrowserWindowID()
833 return window_id; in GetBrowserWindowID()
/external/chromium/chrome/browser/sync/glue/
Dsession_model_associator.cc127 SessionID::id_type window_id = (*i)->session_id().id(); in ReassociateWindows() local
128 VLOG(1) << "Reassociating window " << window_id << " with " << in ReassociateWindows()
130 window_s.set_window_id(window_id); in ReassociateWindows()
234 tab->controller().window_id().id()); in Associate()
263 tab_s->set_window_id(tab.controller().window_id().id()); in WriteTabContentsToSyncModel()
579 session_window->window_id.set_id(specifics.window_id()); in PopulateSessionWindowFromSpecifics()
607 tab->window_id.set_id(specifics.window_id()); in PopulateSessionTabFromSpecifics()
909 session_window->set_window_id(window.window_id.id()); in PopulateSessionSpecificsWindow()
980 session_tab->set_window_id(tab.window_id.id()); in PopulateSessionSpecificsTab()
/external/chromium/chrome/browser/
Dplugin_carbon_interpose_mac.cc35 uint32 window_id; member
38 window_id = HIWindowGetCGWindowID(window); in WindowInfo()
44 mac_plugin_interposing::NotifyBrowserOfPluginHideWindow(window_info.window_id, in OnPluginWindowClosed()
/external/chromium/chrome/common/
Dmetrics_helpers.h44 void RecordWindowEvent(WindowEventType type, int window_id, int parent_id);
51 void RecordLoadEvent(int window_id,
Dmetrics_helpers.cc233 void MetricsLogBase::RecordLoadEvent(int window_id, in RecordLoadEvent() argument
243 WriteIntAttribute("window", window_id); in RecordLoadEvent()
295 int window_id, in RecordWindowEvent() argument
301 WriteAttribute("windowid", base::IntToString(window_id)); in RecordWindowEvent()
/external/chromium/chrome/browser/sync/protocol/
Dsession_specifics.proto32 optional int32 window_id = 1; field
49 optional int32 window_id = 2; field
Dproto_value_conversions.cc113 SET_INT32(window_id); in SessionTabToValue()
125 SET_INT32(window_id); in SessionWindowToValue()
/external/chromium/chrome/browser/printing/
Dprint_preview_tab_controller.cc166 initiator_tab->controller().window_id().id()); in CreatePrintPreviewTab()
/external/chromium/chrome/browser/ui/webui/
Dforeign_session_handler.cc237 dictionary->SetInteger("sessionId", window.window_id.id()); in SessionWindowToValue()
/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.cc832 int window_id = Source<NavigationController>(source)->window_id().id(); in Observe() local
833 if (window_id == new_window_id_) { in Observe()
2044 int window_id = Source<NavigationController>(source)->window_id().id(); in Observe() local
2045 if (window_id == new_window_id_) { in Observe()
/external/chromium/chrome/browser/ui/
Dbrowser.cc2708 contents->controller().window_id().id()); in TabInsertedAt()