OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ |
7 | 7 |
| 8 #include "app/gfx/native_widget_types.h" |
8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
9 #include "base/gfx/native_widget_types.h" | |
10 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
11 | 11 |
12 class Browser; | 12 class Browser; |
13 class ExtensionHost; | 13 class ExtensionHost; |
14 class RenderViewHost; | 14 class RenderViewHost; |
15 class RenderWidgetHostViewMac; | 15 class RenderWidgetHostViewMac; |
16 class SkBitmap; | 16 class SkBitmap; |
17 | 17 |
18 // This class represents extension views. An extension view internally contains | 18 // This class represents extension views. An extension view internally contains |
19 // a bridge to an extension process, which draws to the extension view's | 19 // a bridge to an extension process, which draws to the extension view's |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 RenderWidgetHostViewMac* render_widget_host_view_; | 65 RenderWidgetHostViewMac* render_widget_host_view_; |
66 | 66 |
67 // The background the view should have once it is initialized. This is set | 67 // The background the view should have once it is initialized. This is set |
68 // when the view has a custom background, but hasn't been initialized yet. | 68 // when the view has a custom background, but hasn't been initialized yet. |
69 SkBitmap pending_background_; | 69 SkBitmap pending_background_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(ExtensionViewMac); | 71 DISALLOW_COPY_AND_ASSIGN(ExtensionViewMac); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ | 74 #endif // CHROME_BROWSER_COCOA_EXTENSION_VIEW_MAC_H_ |
OLD | NEW |