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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "gfx/rect.h" | |
11 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 10 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbarClient.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbarClient.h" |
| 13 #include "ui/gfx/rect.h" |
14 #include "webkit/plugins/ppapi/ppb_widget_impl.h" | 14 #include "webkit/plugins/ppapi/ppb_widget_impl.h" |
15 | 15 |
16 namespace webkit { | 16 namespace webkit { |
17 namespace ppapi { | 17 namespace ppapi { |
18 | 18 |
19 class PluginInstance; | 19 class PluginInstance; |
20 | 20 |
21 class PPB_Scrollbar_Impl : public PPB_Widget_Impl, | 21 class PPB_Scrollbar_Impl : public PPB_Widget_Impl, |
22 public WebKit::WebScrollbarClient { | 22 public WebKit::WebScrollbarClient { |
23 public: | 23 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 std::vector<WebKit::WebRect> tickmarks_; | 58 std::vector<WebKit::WebRect> tickmarks_; |
59 scoped_ptr<WebKit::WebScrollbar> scrollbar_; | 59 scoped_ptr<WebKit::WebScrollbar> scrollbar_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl); | 61 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace ppapi | 64 } // namespace ppapi |
65 } // namespace webkit | 65 } // namespace webkit |
66 | 66 |
67 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ | 67 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ |
OLD | NEW |