1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.backends.chrome_inspector.inspector_backend_list</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 9<td valign=bottom> <br> 10<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetry.internal.backends.chrome_inspector.html"><font color="#ffffff">chrome_inspector</font></a>.inspector_backend_list</strong></big></big></font></td 11><td align=right valign=bottom 12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/backends/chrome_inspector/inspector_backend_list.py">telemetry/internal/backends/chrome_inspector/inspector_backend_list.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14# Use of this source code is governed by a BSD-style license that can be<br> 15# found in the LICENSE file.</tt></p> 16<p> 17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18<tr bgcolor="#aa55cc"> 19<td colspan=3 valign=bottom> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="collections.html">collections</a><br> 24</td><td width="25%" valign=top><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> 25</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 26<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 27<tr bgcolor="#ee77aa"> 28<td colspan=3 valign=bottom> <br> 29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 32<td width="100%"><dl> 33<dt><font face="helvetica, arial"><a href="_abcoll.html#Sequence">_abcoll.Sequence</a>(<a href="_abcoll.html#Sized">_abcoll.Sized</a>, <a href="_abcoll.html#Iterable">_abcoll.Iterable</a>, <a href="_abcoll.html#Container">_abcoll.Container</a>) 34</font></dt><dd> 35<dl> 36<dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome_inspector.inspector_backend_list.html#InspectorBackendList">InspectorBackendList</a> 37</font></dt></dl> 38</dd> 39</dl> 40 <p> 41<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 42<tr bgcolor="#ffc8d8"> 43<td colspan=3 valign=bottom> <br> 44<font color="#000000" face="helvetica, arial"><a name="InspectorBackendList">class <strong>InspectorBackendList</strong></a>(<a href="_abcoll.html#Sequence">_abcoll.Sequence</a>)</font></td></tr> 45 46<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 47<td colspan=2><tt>A dynamic sequence of active InspectorBackends.<br> </tt></td></tr> 48<tr><td> </td> 49<td width="100%"><dl><dt>Method resolution order:</dt> 50<dd><a href="telemetry.internal.backends.chrome_inspector.inspector_backend_list.html#InspectorBackendList">InspectorBackendList</a></dd> 51<dd><a href="_abcoll.html#Sequence">_abcoll.Sequence</a></dd> 52<dd><a href="_abcoll.html#Sized">_abcoll.Sized</a></dd> 53<dd><a href="_abcoll.html#Iterable">_abcoll.Iterable</a></dd> 54<dd><a href="_abcoll.html#Container">_abcoll.Container</a></dd> 55<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 56</dl> 57<hr> 58Methods defined here:<br> 59<dl><dt><a name="InspectorBackendList-CreateWrapper"><strong>CreateWrapper</strong></a>(self, inspector_backend_instance)</dt><dd><tt>Override to return the wrapper API over InspectorBackend.<br> 60 <br> 61The wrapper API is the public interface for InspectorBackend. It<br> 62may expose whatever methods are desired on top of that backend.</tt></dd></dl> 63 64<dl><dt><a name="InspectorBackendList-GetBackendFromContextId"><strong>GetBackendFromContextId</strong></a>(self, context_id)</dt></dl> 65 66<dl><dt><a name="InspectorBackendList-GetContextInfo"><strong>GetContextInfo</strong></a>(self, context_id)</dt></dl> 67 68<dl><dt><a name="InspectorBackendList-GetTabById"><strong>GetTabById</strong></a>(self, identifier)</dt></dl> 69 70<dl><dt><a name="InspectorBackendList-IterContextIds"><strong>IterContextIds</strong></a>(self)</dt></dl> 71 72<dl><dt><a name="InspectorBackendList-ShouldIncludeContext"><strong>ShouldIncludeContext</strong></a>(self, _)</dt><dd><tt>Override this method to control which contexts are included.</tt></dd></dl> 73 74<dl><dt><a name="InspectorBackendList-__getitem__"><strong>__getitem__</strong></a>(self, index)</dt><dd><tt># TODO(nednguyen): Remove this method and turn inspector_backend_list API to<br> 75# dictionary-like API (crbug.com/398467)</tt></dd></dl> 76 77<dl><dt><a name="InspectorBackendList-__init__"><strong>__init__</strong></a>(self, browser_backend)</dt><dd><tt>Constructor.<br> 78 <br> 79Args:<br> 80 browser_backend: The BrowserBackend instance to query for<br> 81 InspectorBackends.</tt></dd></dl> 82 83<dl><dt><a name="InspectorBackendList-__iter__"><strong>__iter__</strong></a>(self)</dt></dl> 84 85<dl><dt><a name="InspectorBackendList-__len__"><strong>__len__</strong></a>(self)</dt></dl> 86 87<hr> 88Data descriptors defined here:<br> 89<dl><dt><strong>app</strong></dt> 90</dl> 91<hr> 92Data and other attributes defined here:<br> 93<dl><dt><strong>__abstractmethods__</strong> = frozenset([])</dl> 94 95<hr> 96Methods inherited from <a href="_abcoll.html#Sequence">_abcoll.Sequence</a>:<br> 97<dl><dt><a name="InspectorBackendList-__contains__"><strong>__contains__</strong></a>(self, value)</dt></dl> 98 99<dl><dt><a name="InspectorBackendList-__reversed__"><strong>__reversed__</strong></a>(self)</dt></dl> 100 101<dl><dt><a name="InspectorBackendList-count"><strong>count</strong></a>(self, value)</dt><dd><tt>S.<a href="#InspectorBackendList-count">count</a>(value) -> integer -- return number of occurrences of value</tt></dd></dl> 102 103<dl><dt><a name="InspectorBackendList-index"><strong>index</strong></a>(self, value)</dt><dd><tt>S.<a href="#InspectorBackendList-index">index</a>(value) -> integer -- return first index of value.<br> 104Raises ValueError if the value is not present.</tt></dd></dl> 105 106<hr> 107Class methods inherited from <a href="_abcoll.html#Sized">_abcoll.Sized</a>:<br> 108<dl><dt><a name="InspectorBackendList-__subclasshook__"><strong>__subclasshook__</strong></a>(cls, C)<font color="#909090"><font face="helvetica, arial"> from <a href="abc.html#ABCMeta">abc.ABCMeta</a></font></font></dt></dl> 109 110<hr> 111Data descriptors inherited from <a href="_abcoll.html#Sized">_abcoll.Sized</a>:<br> 112<dl><dt><strong>__dict__</strong></dt> 113<dd><tt>dictionary for instance variables (if defined)</tt></dd> 114</dl> 115<dl><dt><strong>__weakref__</strong></dt> 116<dd><tt>list of weak references to the object (if defined)</tt></dd> 117</dl> 118<hr> 119Data and other attributes inherited from <a href="_abcoll.html#Sized">_abcoll.Sized</a>:<br> 120<dl><dt><strong>__metaclass__</strong> = <class 'abc.ABCMeta'><dd><tt>Metaclass for defining Abstract Base Classes (ABCs).<br> 121 <br> 122Use this metaclass to create an ABC. An ABC can be subclassed<br> 123directly, and then acts as a mix-in class. You can also register<br> 124unrelated concrete classes (even built-in classes) and unrelated<br> 125ABCs as 'virtual subclasses' -- these and their descendants will<br> 126be considered subclasses of the registering ABC by the built-in<br> 127issubclass() function, but the registering ABC won't show up in<br> 128their MRO (Method Resolution Order) nor will method<br> 129implementations defined by the registering ABC be callable (not<br> 130even via super()).</tt></dl> 131 132</td></tr></table></td></tr></table><p> 133<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 134<tr bgcolor="#eeaa77"> 135<td colspan=3 valign=bottom> <br> 136<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 137 138<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> 139<td width="100%"><dl><dt><a name="-DebuggerUrlToId"><strong>DebuggerUrlToId</strong></a>(debugger_url)</dt></dl> 140</td></tr></table> 141</body></html>