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. 4 5 #ifndef UI_AURA_ROOT_WINDOW_VIEW_MAC_H_ 6 #define UI_AURA_ROOT_WINDOW_VIEW_MAC_H_ 7 8 #import <Cocoa/Cocoa.h> 9 10 #include "ui/compositor/compositor.h" 11 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 { 15 @private 16 ui::Compositor* compositor_; 17 } 18 -(void)setCompositor:(ui::Compositor*)compositor; 19 @end 20 21 #endif // UI_AURA_ROOT_WINDOW_VIEW_MAC_H_ 22