| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_HWND_HTML_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_HWND_HTML_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_HWND_HTML_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_HWND_HTML_VIEW_H_ |
| 7 | 7 |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "skia/include/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
| 10 #include "views/controls/hwnd_view.h" | 10 #include "views/controls/hwnd_view.h" |
| 11 | 11 |
| 12 class RenderViewHost; | 12 class RenderViewHost; |
| 13 class RenderViewHostDelegate; | 13 class RenderViewHostDelegate; |
| 14 class SiteInstance; | 14 class SiteInstance; |
| 15 | 15 |
| 16 // A simple view that wraps a RenderViewHost in an HWNDView to facilitate | 16 // A simple view that wraps a RenderViewHost in an HWNDView to facilitate |
| 17 // rendering HTML as arbitrary browser views. | 17 // rendering HTML as arbitrary browser views. |
| 18 // TODO(timsteele): (bug 1317303). This should replace DOMView. | 18 // TODO(timsteele): (bug 1317303). This should replace DOMView. |
| 19 class HWNDHtmlView : public views::HWNDView { | 19 class HWNDHtmlView : public views::HWNDView { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 RenderViewHostDelegate* delegate_; | 72 RenderViewHostDelegate* delegate_; |
| 73 | 73 |
| 74 // The background the view should have once it is initialized. This is set | 74 // The background the view should have once it is initialized. This is set |
| 75 // when the view has a custom background, but hasn't been inititalized yet. | 75 // when the view has a custom background, but hasn't been inititalized yet. |
| 76 SkBitmap pending_background_; | 76 SkBitmap pending_background_; |
| 77 | 77 |
| 78 DISALLOW_EVIL_CONSTRUCTORS(HWNDHtmlView); | 78 DISALLOW_EVIL_CONSTRUCTORS(HWNDHtmlView); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_VIEWS_HWND_HTML_VIEW_H_ | 81 #endif // CHROME_BROWSER_VIEWS_HWND_HTML_VIEW_H_ |
| OLD | NEW |