Home
last modified time | relevance | path

Searched refs:tab_id (Results 1 – 14 of 14) sorted by relevance

/third_party/cef/libcef/browser/extensions/api/tabs/
Dtabs_api.cc110 content::WebContents* BaseAPIFunction::GetWebContents(int tab_id) { in GetWebContents() argument
113 cef_details_.GetBrowserForTabIdFirstTime(tab_id, &error_); in GetWebContents()
125 tab_id_ = params->tab_id ? *params->tab_id : -1; in Run()
200 int tab_id, in UpdateURL() argument
264 int tab_id = -1; in Init() local
267 tab_id = tab_id_value.GetInt(); in Init()
268 if (tab_id < 0) { in Init()
284 cef_details_.GetBrowserForTabIdFirstTime(tab_id, &error); in Init()
419 int tab_id = params->tab_id ? *params->tab_id : -1; in Run() local
420 content::WebContents* web_contents = GetWebContents(tab_id); in Run()
[all …]
Dtabs_api.h55 content::WebContents* GetWebContents(int tab_id);
67 bool UpdateURL(const std::string& url, int tab_id, std::string* error);
140 content::WebContents* GetWebContents(int tab_id);
/third_party/cef/libcef/browser/extensions/
Dextension_function_details.cc218 int tab_id, in GetBrowserForTabIdFirstTime() argument
225 if (tab_id >= 0) { in GetBrowserForTabIdFirstTime()
227 browser = GetBrowserForTabId(tab_id, function_->browser_context()); in GetBrowserForTabIdFirstTime()
231 keys::kTabNotFoundError, base::NumberToString(tab_id)); in GetBrowserForTabIdFirstTime()
251 int tab_id, in GetBrowserForTabIdAgain() argument
253 DCHECK_GE(tab_id, 0); in GetBrowserForTabIdAgain()
258 GetBrowserForTabId(tab_id, function_->browser_context()); in GetBrowserForTabIdAgain()
262 keys::kTabNotFoundError, base::NumberToString(tab_id)); in GetBrowserForTabIdAgain()
Dbrowser_extensions_util.cc132 int tab_id, in GetBrowserForTabId() argument
137 if (tab_id < 0 || !browser_context) in GetBrowserForTabId()
147 if (current_browser && current_browser->GetIdentifier() == tab_id) { in GetBrowserForTabId()
153 LOG(WARNING) << "Browser with tabId " << tab_id in GetBrowserForTabId()
Dextension_function_details.h78 int tab_id,
87 int tab_id,
Dbrowser_extensions_util.h60 int tab_id,
/third_party/cef/patch/patches/
Dextensions_1947.patch44 - int tab_id = web_contents->GetOuterWebContents()
47 + int tab_id;
49 + tab_id = SessionID::InvalidValue().id();
53 + tab_id = alloy::GetTabIdForWebContents(web_contents);
57 + tab_id = ExtensionTabUtil::GetTabId(web_contents);
61 new StreamContainer(tab_id, embedded, handler_url, extension_id,
/third_party/python/Lib/tkinter/
Dttk.py842 def forget(self, tab_id): argument
845 self.tk.call(self._w, "forget", tab_id)
848 def hide(self, tab_id): argument
854 self.tk.call(self._w, "hide", tab_id)
863 def index(self, tab_id): argument
866 return self.tk.getint(self.tk.call(self._w, "index", tab_id))
878 def select(self, tab_id=None): argument
885 return self.tk.call(self._w, "select", tab_id)
888 def tab(self, tab_id, option=None, **kw): argument
896 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
/third_party/python/Doc/library/
Dtkinter.ttk.rst542 The tab_id present in several methods of :class:`ttk.Notebook` may take any
575 .. method:: forget(tab_id)
577 Removes the tab specified by *tab_id*, unmaps and unmanages the
581 .. method:: hide(tab_id)
583 Hides the tab specified by *tab_id*.
596 .. method:: index(tab_id)
598 Returns the numeric index of the tab specified by *tab_id*, or the total
599 number of tabs if *tab_id* is the string "end".
613 .. method:: select(tab_id=None)
615 Selects the specified *tab_id*.
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp7120 …static void TabBarScrollToTab(ImGuiTabBar* tab_bar, ImGuiID tab_id, ImGuiTabBarSection…
7534 ImGuiTabItem* ImGui::TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id) in TabBarFindTabByID() argument
7536 if (tab_id != 0) in TabBarFindTabByID()
7538 if (tab_bar->Tabs[n].ID == tab_id) in TabBarFindTabByID()
7544 void ImGui::TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id) in TabBarRemoveTab() argument
7546 if (ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id)) in TabBarRemoveTab()
7548 if (tab_bar->VisibleTabId == tab_id) { tab_bar->VisibleTabId = 0; } in TabBarRemoveTab()
7549 if (tab_bar->SelectedTabId == tab_id) { tab_bar->SelectedTabId = 0; } in TabBarRemoveTab()
7550 if (tab_bar->NextSelectedTabId == tab_id) { tab_bar->NextSelectedTabId = 0; } in TabBarRemoveTab()
7583 static void ImGui::TabBarScrollToTab(ImGuiTabBar* tab_bar, ImGuiID tab_id, ImGuiTabBarSection* sect… in TabBarScrollToTab() argument
[all …]
Dimgui_internal.h2627 IMGUI_API ImGuiTabItem* TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id);
2628 IMGUI_API void TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id);
2636 …mGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_but…
/third_party/mesa3d/src/imgui/
Dimgui_internal.h1429 IMGUI_API ImGuiTabItem* TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id);
1430 IMGUI_API void TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id);
1436 …mGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_but…
Dimgui_widgets.cpp6141 ImGuiTabItem* ImGui::TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id) in TabBarFindTabByID() argument
6143 if (tab_id != 0) in TabBarFindTabByID()
6145 if (tab_bar->Tabs[n].ID == tab_id) in TabBarFindTabByID()
6151 void ImGui::TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id) in TabBarRemoveTab() argument
6153 if (ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id)) in TabBarRemoveTab()
6155 if (tab_bar->VisibleTabId == tab_id) { tab_bar->VisibleTabId = 0; } in TabBarRemoveTab()
6156 if (tab_bar->SelectedTabId == tab_id) { tab_bar->SelectedTabId = 0; } in TabBarRemoveTab()
6157 if (tab_bar->NextSelectedTabId == tab_id) { tab_bar->NextSelectedTabId = 0; } in TabBarRemoveTab()
6538 ImGuiID tab_id = TabBarCalcTabID(tab_bar, label); in SetTabItemClosed() local
6539 TabBarRemoveTab(tab_bar, tab_id); in SetTabItemClosed()
[all …]
/third_party/chromium/patch/
D0003-ohos-1115.patch39279 - int tab_id =
39281 + int tab_id = extensions::ExtensionTabUtil::GetTabId(host->GetWebContents());
39282 dictionary.SetIntKey(kTargetTabIdField, tab_id);
39325 int tab_id = sessions::SessionTabHelper::IdForTab(web_contents).id();
39326 std::string debugee_by_tab = base::StringPrintf("{\"tabId\": %d}", tab_id);
39385 int tab_id = sessions::SessionTabHelper::IdForTab(
39472 base::StringPrintf("Could not find tab with id %d.", params->tab_id)));