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