| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 package org.chromium.chrome.browser.tabmodel; | 5 package org.chromium.chrome.browser.tabmodel; |
| 6 | 6 |
| 7 import android.app.Activity; | 7 import android.app.Activity; |
| 8 import android.test.suitebuilder.annotation.MediumTest; | 8 import android.support.test.filters.MediumTest; |
| 9 | 9 |
| 10 import org.chromium.base.ThreadUtils; | 10 import org.chromium.base.ThreadUtils; |
| 11 import org.chromium.base.test.util.Feature; | 11 import org.chromium.base.test.util.Feature; |
| 12 import org.chromium.base.test.util.RetryOnFailure; | 12 import org.chromium.base.test.util.RetryOnFailure; |
| 13 import org.chromium.chrome.R; | 13 import org.chromium.chrome.R; |
| 14 import org.chromium.chrome.browser.firstrun.FirstRunStatus; | 14 import org.chromium.chrome.browser.firstrun.FirstRunStatus; |
| 15 import org.chromium.chrome.browser.tab.Tab; | 15 import org.chromium.chrome.browser.tab.Tab; |
| 16 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; | 16 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; |
| 17 import org.chromium.chrome.browser.tabmodel.TabWindowManager.TabModelSelectorFac
tory; | 17 import org.chromium.chrome.browser.tabmodel.TabWindowManager.TabModelSelectorFac
tory; |
| 18 import org.chromium.chrome.test.ChromeTabbedActivityTestBase; | 18 import org.chromium.chrome.test.ChromeTabbedActivityTestBase; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 Tab tab = getActivity().getActivityTab(); | 149 Tab tab = getActivity().getActivityTab(); |
| 150 ContextMenuUtils.selectContextMenuItem(this, tab, openerDomId, menuItemI
d); | 150 ContextMenuUtils.selectContextMenuItem(this, tab, openerDomId, menuItemI
d); |
| 151 getInstrumentation().waitForIdleSync(); | 151 getInstrumentation().waitForIdleSync(); |
| 152 } | 152 } |
| 153 | 153 |
| 154 @Override | 154 @Override |
| 155 public void startMainActivity() throws InterruptedException { | 155 public void startMainActivity() throws InterruptedException { |
| 156 startMainActivityOnBlankPage(); | 156 startMainActivityOnBlankPage(); |
| 157 } | 157 } |
| 158 } | 158 } |
| OLD | NEW |