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 #include "webkit/glue/plugins/pepper_scrollbar.h" | 5 #include "webkit/glue/plugins/pepper_scrollbar.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
9 #include "skia/ext/platform_canvas.h" | 10 #include "skia/ext/platform_canvas.h" |
10 #include "third_party/ppapi/c/dev/ppp_scrollbar_dev.h" | |
11 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
12 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
13 #include "third_party/WebKit/WebKit/chromium/public/WebScrollbar.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebScrollbar.h" |
14 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" |
15 #include "webkit/glue/plugins/pepper_event_conversion.h" | 15 #include "webkit/glue/plugins/pepper_event_conversion.h" |
16 #include "webkit/glue/plugins/pepper_image_data.h" | 16 #include "webkit/glue/plugins/pepper_image_data.h" |
17 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 17 #include "webkit/glue/plugins/pepper_plugin_instance.h" |
18 #include "webkit/glue/plugins/pepper_plugin_module.h" | 18 #include "webkit/glue/plugins/pepper_plugin_module.h" |
19 #include "webkit/glue/webkit_glue.h" | 19 #include "webkit/glue/webkit_glue.h" |
20 | 20 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 PP_Rect pp_rect; | 231 PP_Rect pp_rect; |
232 pp_rect.point.x = dirty_.x(); | 232 pp_rect.point.x = dirty_.x(); |
233 pp_rect.point.y = dirty_.y(); | 233 pp_rect.point.y = dirty_.y(); |
234 pp_rect.size.width = dirty_.width(); | 234 pp_rect.size.width = dirty_.width(); |
235 pp_rect.size.height = dirty_.height(); | 235 pp_rect.size.height = dirty_.height(); |
236 dirty_ = gfx::Rect(); | 236 dirty_ = gfx::Rect(); |
237 Invalidate(&pp_rect); | 237 Invalidate(&pp_rect); |
238 } | 238 } |
239 | 239 |
240 } // namespace pepper | 240 } // namespace pepper |
OLD | NEW |