FIXME: Delete RenderWidgetHostViewMac::AcceleratedWidgetGetNSView
1121957
1037145
This commit is contained in:
parent
95cec24387
commit
ec1bd5375a
1 changed files with 3 additions and 0 deletions
|
@ -997,6 +997,8 @@ bool NativeWindowMac::IsKiosk() {
|
|||
}
|
||||
|
||||
void NativeWindowMac::SetBackgroundColor(SkColor color) {
|
||||
NOTIMPLEMENTED() << "TODO";
|
||||
/*
|
||||
base::ScopedCFTypeRef<CGColorRef> cgcolor(
|
||||
skia::CGColorCreateFromSkColor(color));
|
||||
// views::Widget adds a layer for the content view.
|
||||
|
@ -1008,6 +1010,7 @@ void NativeWindowMac::SetBackgroundColor(SkColor color) {
|
|||
// When using WebContents as content view, the contentView also has layer.
|
||||
if ([[window_ contentView] wantsLayer])
|
||||
[[[window_ contentView] layer] setBackgroundColor:cgcolor];
|
||||
*/
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetHasShadow(bool has_shadow) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue