Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_ANDROID_SCREEN_ANDROID_H_ | |
| 6 #define UI_ANDROID_SCREEN_ANDROID_H_ | |
| 7 | |
| 8 #include <jni.h> | |
| 9 #include "ui/android/ui_android_export.h" | |
| 10 | |
| 11 namespace display { | |
| 12 class Screen; | |
| 13 } | |
| 14 | |
| 15 namespace ui { | |
| 16 | |
| 17 bool RegisterScreenAndroid(JNIEnv* env); | |
| 18 | |
| 19 UI_ANDROID_EXPORT display::Screen* CreateScreenAndroid(); | |
|
boliu
2016/11/12 00:34:13
I think it's better for these to be SetScreenAndro
Tima Vaisburd
2016/11/12 01:57:27
Done.
| |
| 20 | |
| 21 // Creates Screen containing one dummy Display that does not | |
| 22 // communicate with Java layer. | |
| 23 UI_ANDROID_EXPORT display::Screen* CreateScreenAndroidForTests(); | |
| 24 | |
| 25 } // namespace display | |
| 26 | |
| 27 #endif // UI_ANDROID_SCREEN_ANDROID_H_ | |
| OLD | NEW |