| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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.infobar; | 5 package org.chromium.chrome.browser.infobar; |
| 6 | 6 |
| 7 import android.graphics.Rect; | 7 import android.graphics.Rect; |
| 8 import android.graphics.Region; | 8 import android.graphics.Region; |
| 9 import android.test.suitebuilder.annotation.MediumTest; | 9 import android.support.test.filters.MediumTest; |
| 10 import android.view.ViewGroup; | 10 import android.view.ViewGroup; |
| 11 import android.view.ViewTreeObserver; | 11 import android.view.ViewTreeObserver; |
| 12 import android.widget.TextView; | 12 import android.widget.TextView; |
| 13 | 13 |
| 14 import org.chromium.base.ThreadUtils; | 14 import org.chromium.base.ThreadUtils; |
| 15 import org.chromium.base.test.util.CallbackHelper; | 15 import org.chromium.base.test.util.CallbackHelper; |
| 16 import org.chromium.base.test.util.Feature; | 16 import org.chromium.base.test.util.Feature; |
| 17 import org.chromium.base.test.util.RetryOnFailure; | 17 import org.chromium.base.test.util.RetryOnFailure; |
| 18 import org.chromium.chrome.R; | 18 import org.chromium.chrome.R; |
| 19 import org.chromium.chrome.browser.ChromeActivity; | 19 import org.chromium.chrome.browser.ChromeActivity; |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 // Additional manual test that this is working: | 359 // Additional manual test that this is working: |
| 360 // - adb shell dumpsys SurfaceFlinger | 360 // - adb shell dumpsys SurfaceFlinger |
| 361 // - Observe that Clank's overlay size changes (or disappears if URLbar
is also gone). | 361 // - Observe that Clank's overlay size changes (or disappears if URLbar
is also gone). |
| 362 } | 362 } |
| 363 | 363 |
| 364 @Override | 364 @Override |
| 365 public void startMainActivity() throws InterruptedException { | 365 public void startMainActivity() throws InterruptedException { |
| 366 startMainActivityOnBlankPage(); | 366 startMainActivityOnBlankPage(); |
| 367 } | 367 } |
| 368 } | 368 } |
| OLD | NEW |