WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142586
[Mac] Update fullscreen placeholder UI to use Vibrancy.
https://bugs.webkit.org/show_bug.cgi?id=142586
Summary
[Mac] Update fullscreen placeholder UI to use Vibrancy.
Jer Noble
Reported
2015-03-11 11:21:51 PDT
[Mac] Update fullscreen placeholder view to support Vibrancy.
Attachments
Patch
(6.34 KB, patch)
2015-03-11 11:43 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2015-03-11 11:43:58 PDT
Created
attachment 248436
[details]
Patch
Eric Carlson
Comment 2
2015-03-11 11:47:47 PDT
Comment on
attachment 248436
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=248436&action=review
> Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm:61 > + _effectView.get().wantsLayer = YES; > + _effectView.get().autoresizesSubviews = YES; > + _effectView.get().autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; > + _effectView.get().blendingMode = NSVisualEffectBlendingModeWithinWindow; > + _effectView.get().hidden = YES; > + _effectView.get().material = NSVisualEffectMaterialLight; > + _effectView.get().state = NSVisualEffectStateActive;
Nit: that is a lot of ".get()."s
> Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm:72 > + _exitWarning = adoptNS([[NSTextField alloc] initWithFrame:NSZeroRect]); > + _exitWarning.get().autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin; > + _exitWarning.get().bordered = NO; > + _exitWarning.get().drawsBackground = NO; > + _exitWarning.get().editable = NO; > + _exitWarning.get().font = [NSFont systemFontOfSize:27]; > + _exitWarning.get().selectable = NO; > + _exitWarning.get().stringValue = clickToExitFullScreenText(); > + _exitWarning.get().textColor = [NSColor tertiaryLabelColor];
Ditto.
Jer Noble
Comment 3
2015-03-11 11:48:35 PDT
(In reply to
comment #2
)
> Comment on
attachment 248436
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=248436&action=review
> > > Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm:61 > > + _effectView.get().wantsLayer = YES; > > + _effectView.get().autoresizesSubviews = YES; > > + _effectView.get().autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; > > + _effectView.get().blendingMode = NSVisualEffectBlendingModeWithinWindow; > > + _effectView.get().hidden = YES; > > + _effectView.get().material = NSVisualEffectMaterialLight; > > + _effectView.get().state = NSVisualEffectStateActive; > > Nit: that is a lot of ".get()."s > > > Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm:72 > > + _exitWarning = adoptNS([[NSTextField alloc] initWithFrame:NSZeroRect]); > > + _exitWarning.get().autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin; > > + _exitWarning.get().bordered = NO; > > + _exitWarning.get().drawsBackground = NO; > > + _exitWarning.get().editable = NO; > > + _exitWarning.get().font = [NSFont systemFontOfSize:27]; > > + _exitWarning.get().selectable = NO; > > + _exitWarning.get().stringValue = clickToExitFullScreenText(); > > + _exitWarning.get().textColor = [NSColor tertiaryLabelColor]; > > Ditto.
The alternative is (e.g.) [_exitWarning setBordered:NO] which is (underneath the hood) an equal number of get()s.
Jer Noble
Comment 4
2015-03-11 12:44:18 PDT
<
rdar://problem/20062753
>
WebKit Commit Bot
Comment 5
2015-03-11 13:28:13 PDT
Comment on
attachment 248436
[details]
Patch Clearing flags on attachment: 248436 Committed
r181403
: <
http://trac.webkit.org/changeset/181403
>
WebKit Commit Bot
Comment 6
2015-03-11 13:28:17 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug