OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ |
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ | 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/input/scrollbar.h" | 10 #include "cc/input/scrollbar.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePa
inter.h" | 11 #include "third_party/WebKit/public/platform/WebScrollbarThemePainter.h" |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 class WebScrollbar; | 14 class WebScrollbar; |
15 class WebScrollbarThemeGeometry; | 15 class WebScrollbarThemeGeometry; |
16 } | 16 } |
17 | 17 |
18 namespace webkit { | 18 namespace webkit { |
19 | 19 |
20 class ScrollbarImpl : public cc::Scrollbar { | 20 class ScrollbarImpl : public cc::Scrollbar { |
21 public: | 21 public: |
(...skipping 18 matching lines...) Expand all Loading... |
40 scoped_ptr<WebKit::WebScrollbar> scrollbar_; | 40 scoped_ptr<WebKit::WebScrollbar> scrollbar_; |
41 WebKit::WebScrollbarThemePainter painter_; | 41 WebKit::WebScrollbarThemePainter painter_; |
42 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry_; | 42 scoped_ptr<WebKit::WebScrollbarThemeGeometry> geometry_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(ScrollbarImpl); | 44 DISALLOW_COPY_AND_ASSIGN(ScrollbarImpl); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace webkit | 47 } // namespace webkit |
48 | 48 |
49 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ | 49 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_SCROLLBAR_IMPL_H_ |
OLD | NEW |