| 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 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "ppapi/c/dev/ppp_scrollbar_dev.h" | 10 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
| 11 #include "ppapi/thunk/thunk.h" | 11 #include "ppapi/thunk/thunk.h" |
| 12 #include "skia/ext/platform_canvas.h" | 12 #include "skia/ext/platform_canvas.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
| 17 #include "webkit/plugins/ppapi/common.h" | 17 #include "webkit/plugins/ppapi/common.h" |
| 18 #include "webkit/plugins/ppapi/event_conversion.h" | 18 #include "webkit/plugins/ppapi/event_conversion.h" |
| 19 #include "webkit/plugins/ppapi/plugin_module.h" | 19 #include "webkit/plugins/ppapi/plugin_module.h" |
| 20 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 20 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 21 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 21 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
| 22 #include "webkit/plugins/ppapi/resource_helper.h" | 22 #include "webkit/plugins/ppapi/resource_helper.h" |
| 23 #include "webkit/glue/webkit_glue.h" | 23 #include "webkit/glue/webkit_glue.h" |
| 24 | 24 |
| 25 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
| 26 #include "base/win/windows_version.h" | 26 #include "base/win/windows_version.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 pp_rect.point.y = dirty_.y(); | 239 pp_rect.point.y = dirty_.y(); |
| 240 pp_rect.size.width = dirty_.width(); | 240 pp_rect.size.width = dirty_.width(); |
| 241 pp_rect.size.height = dirty_.height(); | 241 pp_rect.size.height = dirty_.height(); |
| 242 dirty_ = gfx::Rect(); | 242 dirty_ = gfx::Rect(); |
| 243 Invalidate(&pp_rect); | 243 Invalidate(&pp_rect); |
| 244 } | 244 } |
| 245 | 245 |
| 246 } // namespace ppapi | 246 } // namespace ppapi |
| 247 } // namespace webkit | 247 } // namespace webkit |
| 248 | 248 |
| OLD | NEW |