|
Add padding values to View.idl
Rather than hardcoding the size and presence of the notification area in Dart,
we now expose padding values on the view. These values are set to non-zero
values when there are UI elements that overlap the view. We currently respect
only the top padding, but this CL paves the way to respect padding in other
directions.
We still hardcode the size of the notification area in Java. A future CL will
retrieve this value from the Android framework.
Fixes #257
R=ianh@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/7cde360c5c3321d0af2eb622cd633be3a17ea614
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -32 lines) |
Patch |
 |
M |
sky/engine/core/view/View.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/view/View.idl
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/engine/public/platform/sky_display_metrics.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/theme/view_configuration.dart
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/widgets/scaffold.dart
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/services/engine/sky_engine.mojom
|
View
|
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/shell/android/org/domokit/sky/shell/PlatformViewAndroid.java
|
View
|
|
3 chunks |
+25 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/shell/android/org/domokit/sky/shell/SkyActivity.java
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/shell/ios/sky_surface.mm
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/shell/testing/test_runner.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/shell/ui/engine.h
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sky/shell/ui/engine.cc
|
View
|
|
5 chunks |
+15 lines, -18 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|