| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 DEFAULT_WEB_CONTENTS_TIMEOUT = 60 | 5 DEFAULT_WEB_CONTENTS_TIMEOUT = 60 |
| 6 | 6 |
| 7 # TODO(achuith, dtu, nduca): Add unit tests specifically for WebContents, | 7 # TODO(achuith, dtu, nduca): Add unit tests specifically for WebContents, |
| 8 # independent of Tab. | 8 # independent of Tab. |
| 9 class WebContents(object): | 9 class WebContents(object): |
| 10 """Represents web contents in the browser""" | 10 """Represents web contents in the browser""" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 @property | 58 @property |
| 59 def timeline_model(self): | 59 def timeline_model(self): |
| 60 return self._inspector_backend.timeline_model | 60 return self._inspector_backend.timeline_model |
| 61 | 61 |
| 62 def StartTimelineRecording(self): | 62 def StartTimelineRecording(self): |
| 63 self._inspector_backend.StartTimelineRecording() | 63 self._inspector_backend.StartTimelineRecording() |
| 64 | 64 |
| 65 def StopTimelineRecording(self): | 65 def StopTimelineRecording(self): |
| 66 self._inspector_backend.StopTimelineRecording() | 66 self._inspector_backend.StopTimelineRecording() |
| OLD | NEW |