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

Issue 2416403002: Reland of Android: support multiple displays on C++ side (Closed)

Created:
4 years, 2 months ago by Tima Vaisburd
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Android: support multiple displays on C++ side Original description: Starting with API 17 Android can have multiple displays. CL https://codereview.chromium.org/2361633002 introduced the map of DisplayAndroid objects on Java side. This CL uses the information from Java layer to maintain a similar map on the native side. Similar to other platforms, an individual display is represented by a Display object, and the collection of all displays in the system is the Screen object. The Screen object for Android maintains the mapping between the Android display ID and Display and receives updates from DisplayAndroidManager.java through JNI. Therefore the Screen implementation is placed in DisplayAndroidManager class. The Screen interface assumes the existence of the primary display. To support this we always add the primary display on the Java side (it is propagated to native) during the initialization of DisplayAndroidManager.java Native DisplayAndroidManager obtains the display ID from WindowAndroid and thus depends on /ui/android. This CL places the manager in /ui/android as well. Because of this we have to explicitly initialize the Screen singleton by calling SetScreenAndroid() (similar to other platforms) instead of creating the Screen object on demand. The explicit initialization of the Screen happens on most platforms, and required some tests modification. Note: the explicit initialization of the Android Screen object required some tests modification. Since the screen used to be created on demand, we could have missed some tests that run on Android and not covered by CQ. BUG=625089 > > Committed: https://crrev.com/3da850c3bfadcf3d83407bb4aa9b1e047cbd44a8 > > Cr-Commit-Position: refs/heads/master@{#432310} > Revert: > Committed: https://crrev.com/ece04082b79fd30261b48ad895e7f05beeda7823 > Cr-Commit-Position: refs/heads/master@{#433108} Committed: https://crrev.com/fe53c2c64abb741b886b16b9a8c725ed397be99f Cr-Commit-Position: refs/heads/master@{#434090}

Patch Set 1 #

Patch Set 2 : Fix: set the DIP scale into Display #

Patch Set 3 : Rebase only #

Patch Set 4 : Update a map of Displays from Java #

Total comments: 34

Patch Set 5 : Ensure primary display. New jni scheme #

Total comments: 26

Patch Set 6 : Rebase only #

Patch Set 7 : JNI generated and registered in ui/android; ensure primary DisplayAndroid by going to app context #

Total comments: 40

Patch Set 8 : Split updateFromDisplay() in two parts and update native from DisplayAndroidManager only #

Total comments: 1

Patch Set 9 : Addressed comments #

Patch Set 10 : Rebase only #

Patch Set 11 : Moved display_android_manager.cc to /ui/android and explicitly initialized the Screen #

Patch Set 12 : Added dependency #

Patch Set 13 : Update native side only after jni init #

Total comments: 1

Patch Set 14 : Fix compilaton #

Patch Set 15 : Restore GetDisplayNearestWindow(0) functionality to return primary display. #

Total comments: 11

Patch Set 16 : Rebase only #

Patch Set 17 : An attempt to eliminate the split between Java and native update #

Patch Set 18 : Rebased #

Patch Set 19 : DisplayAndroid holds native pointer to DisplayAndroidManager, fixed tests #

Total comments: 3

Patch Set 20 : Reverted PS19 #

Patch Set 21 : Moved SetScreenInstance call up to browser_main_loop.cc #

Patch Set 22 : Rebased #

Patch Set 23 : tests #

Patch Set 24 : Added dummy Screen for tests #

Patch Set 25 : Fixed compilation #

Total comments: 4

Patch Set 26 : Moved SetScreenInstance call to PreMainMessageLoopRun #

Total comments: 10

Patch Set 27 : Addressed comments #

Total comments: 8

Patch Set 28 : Took web_contents_view_android.cc changes away, addressed comments #

Total comments: 2

Patch Set 29 : Renamed screen_android_for_tests.h -> dummy_screen_android.h #

Patch Set 30 : Removed now unused ui/display/android/DEPS #

Patch Set 31 : Rebased #

Patch Set 32 : display_android_manager inherits from screen_base #

Patch Set 33 : Rebased and fixed webkit_tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -98 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +3 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +6 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +2 lines, -0 lines 0 comments Download
M ui/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +17 lines, -0 lines 0 comments Download
M ui/android/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
A ui/android/display_android_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +59 lines, -0 lines 0 comments Download
A ui/android/display_android_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +120 lines, -0 lines 0 comments Download
A ui/android/dummy_screen_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +22 lines, -0 lines 0 comments Download
A ui/android/dummy_screen_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +67 lines, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/WindowAndroid.java View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -4 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 7 chunks +97 lines, -6 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 6 chunks +69 lines, -10 lines 0 comments Download
A ui/android/screen_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +23 lines, -0 lines 0 comments Download
M ui/android/ui_android_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M ui/android/window_android.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -1 line 0 comments Download
M ui/android/window_android.cc View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M ui/display/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +1 line, -4 lines 0 comments Download
D ui/display/android/screen_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +0 lines, -65 lines 0 comments Download
M ui/display/screen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 192 (112 generated)
Tima Vaisburd
PTAL. Not tested yet.
4 years, 2 months ago (2016-10-14 22:40:50 UTC) #5
boliu
On the right track, but not how I want to structure the changes in ui/. ...
4 years, 2 months ago (2016-10-15 00:01:20 UTC) #8
Tima Vaisburd
+tedchoc@: Ted, this CL is not finished, as you can see from the discussion, but ...
4 years, 1 month ago (2016-10-25 01:50:42 UTC) #12
Tima Vaisburd
I updated the CL, now it propagates the display info from the Java side to ...
4 years, 1 month ago (2016-10-26 02:02:18 UTC) #15
mthiesse
https://codereview.chromium.org/2416403002/diff/50001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2416403002/diff/50001/content/browser/web_contents/web_contents_view_android.cc#newcode114 content/browser/web_contents/web_contents_view_android.cc:114: ui::WindowAndroid* window = I think you could simplify this ...
4 years, 1 month ago (2016-10-26 14:49:49 UTC) #16
boliu
haven't read this line by line yet https://codereview.chromium.org/2416403002/diff/50001/ui/android/display_android.cc File ui/android/display_android.cc (right): https://codereview.chromium.org/2416403002/diff/50001/ui/android/display_android.cc#newcode5 ui/android/display_android.cc:5: #include "ui/android/display_android.h" ...
4 years, 1 month ago (2016-10-26 17:24:20 UTC) #17
mthiesse
https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode107 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:107: public int getSdkDisplayId() { On 2016/10/26 17:24:20, boliu wrote: ...
4 years, 1 month ago (2016-10-26 17:52:49 UTC) #18
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/50001/ui/display/android/screen_android.cc File ui/display/android/screen_android.cc (right): https://codereview.chromium.org/2416403002/diff/50001/ui/display/android/screen_android.cc#newcode57 ui/display/android/screen_android.cc:57: DCHECK_EQ(displays_.count(display_id), 1U); On 2016/10/26 17:24:20, boliu wrote: > I ...
4 years, 1 month ago (2016-10-26 17:58:10 UTC) #19
boliu
https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode107 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:107: public int getSdkDisplayId() { On 2016/10/26 17:52:49, mthiesse wrote: ...
4 years, 1 month ago (2016-10-26 18:24:44 UTC) #20
mthiesse
https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/50001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode107 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:107: public int getSdkDisplayId() { On 2016/10/26 18:24:43, boliu wrote: ...
4 years, 1 month ago (2016-10-26 18:48:24 UTC) #21
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/50001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2416403002/diff/50001/content/browser/web_contents/web_contents_view_android.cc#newcode114 content/browser/web_contents/web_contents_view_android.cc:114: ui::WindowAndroid* window = On 2016/10/26 14:49:49, mthiesse wrote: > ...
4 years, 1 month ago (2016-10-27 07:55:59 UTC) #22
mthiesse
I'll leave any comments on the jni to boliu, as I'm pretty new to chrome ...
4 years, 1 month ago (2016-10-27 14:30:30 UTC) #23
mthiesse
I'll leave any comments on the jni to boliu, as I'm pretty new to chrome ...
4 years, 1 month ago (2016-10-27 14:30:33 UTC) #24
Tima Vaisburd
Michael, thank you for prompt response! https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode286 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:286: getManager().updateDisplayOnNativeSide(this); On 2016/10/27 ...
4 years, 1 month ago (2016-10-27 17:56:24 UTC) #25
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode286 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:286: getManager().updateDisplayOnNativeSide(this); On 2016/10/27 17:56:23, Tima Vaisburd wrote: > On ...
4 years, 1 month ago (2016-10-27 18:34:26 UTC) #26
mthiesse
https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java (right): https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java#newcode227 ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java:227: nativeSetNoPrimaryDisplay(); On 2016/10/27 17:56:23, Tima Vaisburd wrote: > On ...
4 years, 1 month ago (2016-10-27 19:51:51 UTC) #27
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java (right): https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java#newcode227 ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java:227: nativeSetNoPrimaryDisplay(); On 2016/10/27 19:51:51, mthiesse wrote: > On 2016/10/27 ...
4 years, 1 month ago (2016-10-27 20:22:30 UTC) #28
mthiesse
https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java (right): https://codereview.chromium.org/2416403002/diff/70001/ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java#newcode227 ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java:227: nativeSetNoPrimaryDisplay(); On 2016/10/27 20:22:30, Tima Vaisburd wrote: > On ...
4 years, 1 month ago (2016-10-27 20:29:13 UTC) #29
boliu
ok ok.. the new jni_registrar might be going too far, at least not until we ...
4 years, 1 month ago (2016-10-27 22:17:49 UTC) #30
Tima Vaisburd
On 2016/10/27 22:17:49, boliu wrote: > I think my proposal would be just have ui/android ...
4 years, 1 month ago (2016-10-27 22:42:15 UTC) #31
boliu
On 2016/10/27 22:42:15, Tima Vaisburd wrote: > On 2016/10/27 22:17:49, boliu wrote: > > > ...
4 years, 1 month ago (2016-10-27 22:48:12 UTC) #32
Tima Vaisburd
On 2016/10/27 22:48:12, boliu wrote: > On 2016/10/27 22:42:15, Tima Vaisburd wrote: > > On ...
4 years, 1 month ago (2016-10-27 22:51:50 UTC) #33
Tima Vaisburd
Back from sheriffing, PTAL again. boliu@> The display_android_manager.cc target needs to depend boliu@> on jni ...
4 years, 1 month ago (2016-10-31 23:36:15 UTC) #34
boliu
one step closer to nuking DeviceDisplayInfo https://codereview.chromium.org/2416403002/diff/110001/ui/android/DEPS File ui/android/DEPS (right): https://codereview.chromium.org/2416403002/diff/110001/ui/android/DEPS#newcode15 ui/android/DEPS:15: "+ui/display/android/display_android_manager.h", just replace ...
4 years, 1 month ago (2016-11-01 17:11:05 UTC) #35
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/110001/ui/android/DEPS File ui/android/DEPS (right): https://codereview.chromium.org/2416403002/diff/110001/ui/android/DEPS#newcode15 ui/android/DEPS:15: "+ui/display/android/display_android_manager.h", On 2016/11/01 17:11:04, boliu wrote: > just replace ...
4 years, 1 month ago (2016-11-01 23:04:37 UTC) #36
Tima Vaisburd
The analyze() step on many bots failed with the chack that can be reproduced locally: ...
4 years, 1 month ago (2016-11-02 01:32:35 UTC) #41
Tima Vaisburd
From what I understand I introduced circular dependencies because ViewAndroid::SetAncorRect https://cs.chromium.org/chromium/src/ui/android/view_android.cc?rcl=0&l=125 uses Display and now ...
4 years, 1 month ago (2016-11-02 16:44:09 UTC) #42
boliu
oh deps fun.. Looking at desktop: ui/display depends on ui/gfx and not the other way ...
4 years, 1 month ago (2016-11-02 19:19:28 UTC) #43
Tima Vaisburd
On 2016/11/02 19:19:28, boliu wrote: > The simplest fix would be to move display_android_manager up ...
4 years, 1 month ago (2016-11-02 19:56:57 UTC) #44
boliu
On 2016/11/02 19:56:57, Tima Vaisburd wrote: > On 2016/11/02 19:19:28, boliu wrote: > > The ...
4 years, 1 month ago (2016-11-02 20:30:43 UTC) #45
Tima Vaisburd
I moved display_android_manager to ui/android/. In my local testing this CL worked for WebView, but ...
4 years, 1 month ago (2016-11-04 01:25:44 UTC) #48
Tima Vaisburd
Going to signal that the jni is loaded somehow.
4 years, 1 month ago (2016-11-04 01:26:33 UTC) #49
boliu
On 2016/11/04 01:26:33, Tima Vaisburd wrote: > Going to signal that the jni is loaded ...
4 years, 1 month ago (2016-11-04 02:13:26 UTC) #56
Tima Vaisburd
Signaled the JNI initialization with native pointer in DisplayAndroidManager.java. Now we update the native side ...
4 years, 1 month ago (2016-11-05 00:13:41 UTC) #59
Tima Vaisburd
On 2016/11/04 02:13:26, boliu wrote: > The issue is we can't call nativeInit in the ...
4 years, 1 month ago (2016-11-05 00:20:18 UTC) #60
boliu
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { we don't ever use enums ...
4 years, 1 month ago (2016-11-07 17:05:33 UTC) #67
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { On 2016/11/07 17:05:33, boliu wrote: ...
4 years, 1 month ago (2016-11-07 18:26:04 UTC) #68
boliu
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { On 2016/11/07 18:26:04, Tima Vaisburd ...
4 years, 1 month ago (2016-11-07 18:46:29 UTC) #69
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { On 2016/11/07 18:46:29, boliu wrote: ...
4 years, 1 month ago (2016-11-07 23:52:24 UTC) #71
boliu
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { On 2016/11/07 23:52:24, Tima Vaisburd ...
4 years, 1 month ago (2016-11-08 00:02:47 UTC) #72
Tima Vaisburd
On 2016/11/08 00:02:47, boliu wrote: > perhaps that suggests the jni should happen on DisplayAndroid.java, ...
4 years, 1 month ago (2016-11-08 01:53:58 UTC) #73
boliu
On 2016/11/08 01:53:58, Tima Vaisburd wrote: > On 2016/11/08 00:02:47, boliu wrote: > > perhaps ...
4 years, 1 month ago (2016-11-08 01:59:17 UTC) #74
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java File ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java#newcode44 ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java:44: public enum PropertyChange { On 2016/11/08 00:02:47, boliu wrote: ...
4 years, 1 month ago (2016-11-09 01:17:01 UTC) #77
boliu
https://codereview.chromium.org/2416403002/diff/270001/ui/android/screen_android.h File ui/android/screen_android.h (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/screen_android.h#newcode19 ui/android/screen_android.h:19: UI_ANDROID_EXPORT display::Screen* CreateScreenAndroid(); On 2016/11/09 01:17:01, Tima Vaisburd wrote: ...
4 years, 1 month ago (2016-11-09 03:34:25 UTC) #80
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/270001/ui/android/screen_android.h File ui/android/screen_android.h (right): https://codereview.chromium.org/2416403002/diff/270001/ui/android/screen_android.h#newcode19 ui/android/screen_android.h:19: UI_ANDROID_EXPORT display::Screen* CreateScreenAndroid(); On 2016/11/09 03:34:25, boliu wrote: > ...
4 years, 1 month ago (2016-11-09 09:01:43 UTC) #81
Tima Vaisburd
I moved the SetScreenInstance() to the content layer, in BrowserMainLoop::PreCreateThreads() and removed it from all ...
4 years, 1 month ago (2016-11-10 22:25:21 UTC) #107
boliu
looking at the number of linux-only callsites code search can find for Screen::SetScreenInstance, there's a ...
4 years, 1 month ago (2016-11-11 19:54:48 UTC) #110
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc#newcode742 content/browser/browser_main_loop.cc:742: display::Screen::SetScreenInstance(ui::CreateScreenAndroid()); On 2016/11/11 19:54:48, boliu wrote: > linux puts ...
4 years, 1 month ago (2016-11-11 21:32:25 UTC) #113
boliu
https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc#newcode742 content/browser/browser_main_loop.cc:742: display::Screen::SetScreenInstance(ui::CreateScreenAndroid()); On 2016/11/11 21:32:25, Tima Vaisburd wrote: > On ...
4 years, 1 month ago (2016-11-11 21:36:10 UTC) #114
Tima Vaisburd
Ah, I did forget to publish! https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2416403002/diff/550001/content/browser/browser_main_loop.cc#newcode742 content/browser/browser_main_loop.cc:742: display::Screen::SetScreenInstance(ui::CreateScreenAndroid()); On 2016/11/11 ...
4 years, 1 month ago (2016-11-11 23:44:44 UTC) #117
boliu
https://codereview.chromium.org/2416403002/diff/570001/ui/android/BUILD.gn File ui/android/BUILD.gn (right): https://codereview.chromium.org/2416403002/diff/570001/ui/android/BUILD.gn#newcode20 ui/android/BUILD.gn:20: "dummy_screen_android.cc", if this is test only, then make a ...
4 years, 1 month ago (2016-11-12 00:34:13 UTC) #118
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/570001/ui/android/BUILD.gn File ui/android/BUILD.gn (right): https://codereview.chromium.org/2416403002/diff/570001/ui/android/BUILD.gn#newcode20 ui/android/BUILD.gn:20: "dummy_screen_android.cc", On 2016/11/12 00:34:13, boliu wrote: > if this ...
4 years, 1 month ago (2016-11-12 01:57:27 UTC) #119
boliu
https://codereview.chromium.org/2416403002/diff/590001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2416403002/diff/590001/content/browser/web_contents/web_contents_view_android.cc#newcode33 content/browser/web_contents/web_contents_view_android.cc:33: void DisplayToScreenInfo(const display::Display& display, ScreenInfo* results) { fwiw, changes ...
4 years, 1 month ago (2016-11-14 15:48:54 UTC) #124
Tima Vaisburd
https://codereview.chromium.org/2416403002/diff/590001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2416403002/diff/590001/content/browser/web_contents/web_contents_view_android.cc#newcode33 content/browser/web_contents/web_contents_view_android.cc:33: void DisplayToScreenInfo(const display::Display& display, ScreenInfo* results) { On 2016/11/14 ...
4 years, 1 month ago (2016-11-14 20:11:08 UTC) #128
boliu
Please write a better CL description. Summarize what's being done here. Point out the design ...
4 years, 1 month ago (2016-11-14 20:50:00 UTC) #130
Tima Vaisburd
I rewrote the description and now it might be too long. PTAL again? https://codereview.chromium.org/2416403002/diff/610001/ui/android/BUILD.gn File ...
4 years, 1 month ago (2016-11-14 22:19:38 UTC) #137
boliu
I wish all CL descriptions are like this. > This is prerequisite for https://codereview.chromium.org/2499173002 Why ...
4 years, 1 month ago (2016-11-14 22:23:18 UTC) #138
Tima Vaisburd
On 2016/11/14 22:23:18, boliu wrote: > I wish all CL descriptions are like this. > ...
4 years, 1 month ago (2016-11-14 22:45:58 UTC) #140
boliu
On 2016/11/14 22:45:58, Tima Vaisburd wrote: > On 2016/11/14 22:23:18, boliu wrote: > > I ...
4 years, 1 month ago (2016-11-14 22:47:49 UTC) #141
Tima Vaisburd
I realized that ui/display/android can be deleted. +sky@: could you, please, provide the owner review ...
4 years, 1 month ago (2016-11-14 23:25:54 UTC) #144
Daniel Erat
lgtm for ui/display
4 years, 1 month ago (2016-11-14 23:35:16 UTC) #145
sky
LGTM
4 years, 1 month ago (2016-11-15 00:47:31 UTC) #148
Tima Vaisburd
During rebase I discovered that in https://codereview.chromium.org/2491563002 ScreenAndroid was made derived from ScreenBase, i.e inheritance ...
4 years, 1 month ago (2016-11-15 01:57:29 UTC) #149
boliu
On 2016/11/15 01:57:29, Tima Vaisburd wrote: > During rebase I discovered that in https://codereview.chromium.org/2491563002 > ...
4 years, 1 month ago (2016-11-15 02:12:30 UTC) #150
Tima Vaisburd
On 2016/11/15 02:12:30, boliu wrote: > On 2016/11/15 01:57:29, Tima Vaisburd wrote: > > During ...
4 years, 1 month ago (2016-11-15 02:52:38 UTC) #151
boliu
On 2016/11/15 02:52:38, Tima Vaisburd wrote: > On 2016/11/15 02:12:30, boliu wrote: > > On ...
4 years, 1 month ago (2016-11-15 03:01:23 UTC) #152
Tima Vaisburd
On 2016/11/15 03:01:23, boliu wrote: > On 2016/11/15 02:52:38, Tima Vaisburd wrote: > > > ...
4 years, 1 month ago (2016-11-15 21:18:17 UTC) #159
boliu
lgtm
4 years, 1 month ago (2016-11-15 21:45:26 UTC) #160
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2416403002/690001
4 years, 1 month ago (2016-11-15 21:52:22 UTC) #163
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/261122)
4 years, 1 month ago (2016-11-15 22:08:36 UTC) #165
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2416403002/690001
4 years, 1 month ago (2016-11-15 22:43:14 UTC) #167
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/261250)
4 years, 1 month ago (2016-11-15 23:12:16 UTC) #169
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2416403002/690001
4 years, 1 month ago (2016-11-15 23:46:38 UTC) #171
boliu
stop spamming the trybot.. after it fails twice on the exact same thing, probably should ...
4 years, 1 month ago (2016-11-15 23:47:19 UTC) #172
commit-bot: I haz the power
Committed patchset #32 (id:690001)
4 years, 1 month ago (2016-11-16 00:20:43 UTC) #174
commit-bot: I haz the power
Patchset 32 (id:??) landed as https://crrev.com/3da850c3bfadcf3d83407bb4aa9b1e047cbd44a8 Cr-Commit-Position: refs/heads/master@{#432310}
4 years, 1 month ago (2016-11-16 00:23:08 UTC) #176
Tima Vaisburd
A revert of this CL (patchset #32 id:690001) has been created in https://codereview.chromium.org/2514633002/ by timav@chromium.org. ...
4 years, 1 month ago (2016-11-18 00:20:57 UTC) #177
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2416403002/710001
4 years, 1 month ago (2016-11-23 00:52:25 UTC) #187
commit-bot: I haz the power
Committed patchset #33 (id:710001)
4 years, 1 month ago (2016-11-23 02:36:27 UTC) #190
commit-bot: I haz the power
4 years, 1 month ago (2016-11-23 02:38:44 UTC) #192
Message was sent while issue was closed.
Patchset 33 (id:??) landed as
https://crrev.com/fe53c2c64abb741b886b16b9a8c725ed397be99f
Cr-Commit-Position: refs/heads/master@{#434090}

Powered by Google App Engine
This is Rietveld 408576698