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

Side by Side Diff: ui/android/screen_android.h

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)
Patch Set: Restore GetDisplayNearestWindow(0) functionality to return primary display. Created 4 years, 1 month 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
OLDNEW
(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/07 17:05:33 what if we also create the screen inside RegisterS
Tima Vaisburd 2016/11/07 18:26:04 I thought we wanted to be similar to other platfor
Tima Vaisburd 2016/11/09 01:17:01 Couldn't do it: in Chrome the call to Java_Display
boliu 2016/11/09 03:34:25 meh, init is so complicated how about lazily when
Tima Vaisburd 2016/11/09 09:01:43 Sigh.. maybe in some common part in the content la
20
21 } // namespace display
22
23 #endif // UI_ANDROID_SCREEN_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698