| 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 WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/gfx/native_widget_types.h" | 9 #include "base/gfx/native_widget_types.h" |
| 10 #include "base/gfx/platform_canvas.h" | |
| 11 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| 12 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "skia/ext/platform_canvas.h" |
| 13 | 13 |
| 14 class WebWidget; | 14 class WebWidget; |
| 15 class WebWidgetDelegate; | 15 class WebWidgetDelegate; |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 class Size; | 18 class Size; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // This class is a simple ViewHandle-based host for a WebWidget | 21 // This class is a simple ViewHandle-based host for a WebWidget |
| 22 class WebWidgetHost { | 22 class WebWidgetHost { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 int scroll_dy_; | 111 int scroll_dy_; |
| 112 | 112 |
| 113 bool track_mouse_leave_; | 113 bool track_mouse_leave_; |
| 114 | 114 |
| 115 #ifndef NDEBUG | 115 #ifndef NDEBUG |
| 116 bool painting_; | 116 bool painting_; |
| 117 #endif | 117 #endif |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ | 120 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_ |
| OLD | NEW |