- add sources.
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / tab_list.py
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 class TabList(object):
5   def __init__(self, tab_list_backend):
6     self._tab_list_backend = tab_list_backend
7
8   def New(self, timeout=None):
9     return self._tab_list_backend.New(timeout)
10
11   def __iter__(self):
12     return self._tab_list_backend.__iter__()
13
14   def __len__(self):
15     return self._tab_list_backend.__len__()
16
17   def __getitem__(self, index):
18     return self._tab_list_backend.__getitem__(index)