blob: b34f2d4fa196df00b6131cb2d911f6ee8fffb6b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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.
#ifndef UI_AURA_ROOT_WINDOW_VIEW_MAC_H_
#define UI_AURA_ROOT_WINDOW_VIEW_MAC_H_
#pragma once
#import <Cocoa/Cocoa.h>
#include "ui/gfx/compositor/compositor.h"
// RootWindowView provides an NSView class that delegates drawing to a
// ui::Compositor delegate, setting up the NSOpenGLContext as required.
@interface RootWindowView : NSView {
@private
scoped_refptr<ui::Compositor> compositor_;
}
-(void)setCompositor:(scoped_refptr<ui::Compositor>)compositor;
@end
#endif // UI_AURA_ROOT_WINDOW_VIEW_MAC_H_
|