Title: [231454] trunk/Source/WebKit
- Revision
- 231454
- Author
- [email protected]
- Date
- 2018-05-07 14:00:17 -0700 (Mon, 07 May 2018)
Log Message
Use a dark gray for system preview bbackground
https://bugs.webkit.org/show_bug.cgi?id=185391
<rdar://problem/40035120>
Reviewed by Eric Carlson.
Throw some darker shade at this view.
* UIProcess/ios/WKSystemPreviewView.mm:
(-[WKSystemPreviewView web_initWithFrame:webView:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (231453 => 231454)
--- trunk/Source/WebKit/ChangeLog 2018-05-07 20:48:36 UTC (rev 231453)
+++ trunk/Source/WebKit/ChangeLog 2018-05-07 21:00:17 UTC (rev 231454)
@@ -1,3 +1,16 @@
+2018-05-07 Dean Jackson <[email protected]>
+
+ Use a dark gray for system preview bbackground
+ https://bugs.webkit.org/show_bug.cgi?id=185391
+ <rdar://problem/40035120>
+
+ Reviewed by Eric Carlson.
+
+ Throw some darker shade at this view.
+
+ * UIProcess/ios/WKSystemPreviewView.mm:
+ (-[WKSystemPreviewView web_initWithFrame:webView:]):
+
2018-05-07 Don Olmstead <[email protected]>
[Win] Add missing methods to WebChromeClient
Modified: trunk/Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm (231453 => 231454)
--- trunk/Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm 2018-05-07 20:48:36 UTC (rev 231453)
+++ trunk/Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm 2018-05-07 21:00:17 UTC (rev 231454)
@@ -61,7 +61,8 @@
if (!(self = [super initWithFrame:frame]))
return nil;
- self.backgroundColor = [UIColor lightGrayColor];
+ UIColor *backgroundColor = [UIColor colorWithRed:(38. / 255) green:(38. / 255) blue:(38. / 255) alpha:1];
+ self.backgroundColor = backgroundColor;
_webView = webView;
@@ -68,7 +69,7 @@
UIScrollView *scrollView = webView.scrollView;
[scrollView setMinimumZoomScale:1];
[scrollView setMaximumZoomScale:1];
- [scrollView setBackgroundColor:[UIColor lightGrayColor]];
+ [scrollView setBackgroundColor:backgroundColor];
return self;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes