Chromium Code Reviews| Index: ui/android/screen_android.h |
| diff --git a/ui/android/screen_android.h b/ui/android/screen_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c504e3d34b7ea6e51a3ae23d7a7d16cce6d0aa75 |
| --- /dev/null |
| +++ b/ui/android/screen_android.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_ANDROID_SCREEN_ANDROID_H_ |
| +#define UI_ANDROID_SCREEN_ANDROID_H_ |
| + |
| +#include <jni.h> |
| +#include "ui/android/ui_android_export.h" |
| + |
| +namespace display { |
| +class Screen; |
| +} |
| + |
| +namespace ui { |
| + |
| +bool RegisterScreenAndroid(JNIEnv* env); |
| + |
| +UI_ANDROID_EXPORT void SetScreenAndroid(); |
| + |
| +// Creates Screen containing one dummy Display that does not |
| +// communicate with Java layer. |
| +UI_ANDROID_EXPORT display::Screen* CreateScreenAndroidForTests(); |
|
boliu
2016/11/14 15:48:54
this should move to a test-only header
Tima Vaisburd
2016/11/14 20:11:08
Added new file "ui/android/screen_android_for_test
|
| + |
| +} // namespace display |
| + |
| +#endif // UI_ANDROID_SCREEN_ANDROID_H_ |