OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "gfx/native_widget_types.h" | |
11 #include "gfx/size.h" | |
12 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
| 11 #include "ui/gfx/native_widget_types.h" |
| 12 #include "ui/gfx/size.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 class ExtensionHost; | 15 class ExtensionHost; |
16 class RenderViewHost; | 16 class RenderViewHost; |
17 class RenderWidgetHostViewMac; | 17 class RenderWidgetHostViewMac; |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 // This class represents extension views. An extension view internally contains | 20 // This class represents extension views. An extension view internally contains |
21 // a bridge to an extension process, which draws to the extension view's | 21 // a bridge to an extension process, which draws to the extension view's |
22 // native view object through IPC. | 22 // native view object through IPC. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 RenderWidgetHostViewMac* render_widget_host_view_; | 79 RenderWidgetHostViewMac* render_widget_host_view_; |
80 | 80 |
81 // The background the view should have once it is initialized. This is set | 81 // The background the view should have once it is initialized. This is set |
82 // when the view has a custom background, but hasn't been initialized yet. | 82 // when the view has a custom background, but hasn't been initialized yet. |
83 SkBitmap pending_background_; | 83 SkBitmap pending_background_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(ExtensionViewMac); | 85 DISALLOW_COPY_AND_ASSIGN(ExtensionViewMac); |
86 }; | 86 }; |
87 | 87 |
88 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ | 88 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ |
OLD | NEW |