1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_AURA_ROOT_WINDOW_VIEW_MAC_H_
6 #define UI_AURA_ROOT_WINDOW_VIEW_MAC_H_
8 #import <Cocoa/Cocoa.h>
10 #include "ui/compositor/compositor.h"
12 // RootWindowView provides an NSView class that delegates drawing to a
13 // ui::Compositor delegate, setting up the NSOpenGLContext as required.
14 @interface RootWindowView
: NSView
{
16 ui::Compositor
* compositor_
;
18 -(void)setCompositor
:(ui::Compositor
*)compositor
;
21 #endif // UI_AURA_ROOT_WINDOW_VIEW_MAC_H_