2
|
1 |
// Copyright (c) 2009 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 |
|
|
5 |
package org.chromium.sdk;
|
|
6 |
|
|
7 |
|
|
8 |
/**
|
|
9 |
* A lightweight abstraction of a remote Browser tab. Each browser tab
|
|
10 |
* corresponds to a Javascript Virtual Machine and is_a {code JavascriptVm}.
|
|
11 |
*/
|
|
12 |
public interface BrowserTab extends JavascriptVm {
|
|
13 |
|
|
14 |
/**
|
|
15 |
* @return the "parent" Browser instance
|
|
16 |
*/
|
|
17 |
Browser getBrowser();
|
|
18 |
|
|
19 |
/**
|
|
20 |
* @return a URL of the corresponding browser tab
|
|
21 |
*/
|
|
22 |
String getUrl();
|
|
23 |
|
|
24 |
}
|