Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(897)

Side by Side Diff: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java

Issue 584523003: Create org.chromium.content_public.common and move two classes there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_display_in_shortcuthelper
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationValues.template ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.test.suitebuilder.annotation.MediumTest; 7 import android.test.suitebuilder.annotation.MediumTest;
8 8
9 import org.chromium.base.ThreadUtils; 9 import org.chromium.base.ThreadUtils;
10 import org.chromium.base.test.util.Feature; 10 import org.chromium.base.test.util.Feature;
11 import org.chromium.base.test.util.UrlUtils; 11 import org.chromium.base.test.util.UrlUtils;
12 import org.chromium.content.browser.test.util.CriteriaHelper; 12 import org.chromium.content.browser.test.util.CriteriaHelper;
13 import org.chromium.content.browser.test.util.MockOrientationObserver; 13 import org.chromium.content.browser.test.util.MockOrientationObserver;
14 import org.chromium.content.browser.test.util.OrientationChangeObserverCriteria; 14 import org.chromium.content.browser.test.util.OrientationChangeObserverCriteria;
15 import org.chromium.content.common.ScreenOrientationValues; 15 import org.chromium.content_public.common.ScreenOrientationValues;
16 import org.chromium.content_shell_apk.ContentShellActivity; 16 import org.chromium.content_shell_apk.ContentShellActivity;
17 import org.chromium.content_shell_apk.ContentShellTestBase; 17 import org.chromium.content_shell_apk.ContentShellTestBase;
18 18
19 /** 19 /**
20 * Tests for ScreenOrientationListener and its implementations. 20 * Tests for ScreenOrientationListener and its implementations.
21 */ 21 */
22 public class ScreenOrientationProviderTest extends ContentShellTestBase { 22 public class ScreenOrientationProviderTest extends ContentShellTestBase {
23 23
24 // For some reasons build bots are not able to lock to 180 degrees. This 24 // For some reasons build bots are not able to lock to 180 degrees. This
25 // boolean is here to make the false negative go away in that situation. 25 // boolean is here to make the false negative go away in that situation.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 169
170 // There is no point in testing the case where we try to lock to 170 // There is no point in testing the case where we try to lock to
171 // PORTRAIT_PRIMARY | PORTRAIT_SECONDARY | LANDSCAPE_PRIMARY | LANDSCAPE_SEC ONDARY 171 // PORTRAIT_PRIMARY | PORTRAIT_SECONDARY | LANDSCAPE_PRIMARY | LANDSCAPE_SEC ONDARY
172 // because with the device being likely flat during the test, locking to tha t 172 // because with the device being likely flat during the test, locking to tha t
173 // will be a no-op. 173 // will be a no-op.
174 174
175 // We can't test unlock because the device is likely flat during the test 175 // We can't test unlock because the device is likely flat during the test
176 // and in that situation unlocking is a no-op. 176 // and in that situation unlocking is a no-op.
177 } 177 }
OLDNEW
« no previous file with comments | « content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationValues.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698