| 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 |
| 58 // The background the view should have once it is initialized. This is set | 60 // The background the view should have once it is initialized. This is set |
| 59 // when the view has a custom background, but hasn't been initialized yet. | 61 // when the view has a custom background, but hasn't been initialized yet. |
| 60 SkBitmap pending_background_; | 62 SkBitmap pending_background_; |
| 61 | 63 |
| 62 // This view's container. | 64 // This view's container. |
| 63 Container* container_; | 65 Container* container_; |
| 64 | 66 |
| 65 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGtk); | 67 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGtk); |
| 66 }; | 68 }; |
| 67 | 69 |
| 68 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ | 70 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_VIEW_GTK_H_ |
| OLD | NEW |