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_EXTENSION_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_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" | 10 #include "gfx/native_widget_types.h" |
11 #include "gfx/size.h" | 11 #include "gfx/size.h" |
12 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 class ExtensionHost; | 15 class ExtensionHost; |
16 class RenderViewHost; | 16 class RenderViewHost; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // rwhv's native view in our destructor, effectively freeing this. | 78 // rwhv's native view in our destructor, effectively freeing this. |
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_EXTENSION_VIEW_MAC_H_ | 88 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_VIEW_MAC_H_ |
OLD | NEW |