blob: 64c3e00a00e7331cd2a56cb357c47a42ca99b28f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ui/aura/root_window_view_mac.h"
@implementation RootWindowView
-(void)setCompositor:(scoped_refptr<ui::Compositor>)compositor {
compositor_ = compositor;
}
- (void)drawRect:(NSRect)rect {
if (compositor_)
compositor_->Draw(false);
}
@end
|