OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 RenderViewHost* render_view_host() const; | 49 RenderViewHost* render_view_host() const; |
50 | 50 |
51 private: | 51 private: |
52 void CreateWidgetHostView(); | 52 void CreateWidgetHostView(); |
53 | 53 |
54 Browser* browser_; | 54 Browser* browser_; |
55 | 55 |
56 ExtensionHost* extension_host_; | 56 ExtensionHost* extension_host_; |
57 | 57 |
58 RenderWidgetHostViewGtk* render_widget_host_view_; | |
59 | |
60 // The background the view should have once it is initialized. This is set | 58 // The background the view should have once it is initialized. This is set |
61 // when the view has a custom background, but hasn't been initialized yet. | 59 // when the view has a custom background, but hasn't been initialized yet. |
62 SkBitmap pending_background_; | 60 SkBitmap pending_background_; |
63 | 61 |
64 // This view's container. | 62 // This view's container. |
65 Container* container_; | 63 Container* container_; |
66 | 64 |
67 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGtk); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGtk); |
68 }; | 66 }; |
69 | 67 |
70 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ | 68 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ |
OLD | NEW |