| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_SCROLLBAR_GEOMETRY_STUB_H_ | 5 #ifndef CC_SCROLLBAR_GEOMETRY_STUB_H_ |
| 6 #define CC_SCROLLBAR_GEOMETRY_STUB_H_ | 6 #define CC_SCROLLBAR_GEOMETRY_STUB_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe
ometry.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe
ometry.h" |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 | 13 |
| 14 // This subclass wraps an existing scrollbar geometry class so that | 14 // This subclass wraps an existing scrollbar geometry class so that |
| 15 // another class can derive from it and override specific functions, while | 15 // another class can derive from it and override specific functions, while |
| 16 // passing through the remaining ones. | 16 // passing through the remaining ones. |
| 17 class CC_EXPORT ScrollbarGeometryStub : public NON_EXPORTED_BASE(WebKit::WebScro
llbarThemeGeometry) { | 17 class CC_EXPORT ScrollbarGeometryStub : public NON_EXPORTED_BASE(WebKit::WebScro
llbarThemeGeometry) { |
| 18 public: | 18 public: |
| 19 virtual ~ScrollbarGeometryStub(); | 19 virtual ~ScrollbarGeometryStub(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 scoped_ptr<WebKit::WebScrollbarThemeGeometry> m_geometry; | 47 scoped_ptr<WebKit::WebScrollbarThemeGeometry> m_geometry; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(ScrollbarGeometryStub); | 49 DISALLOW_COPY_AND_ASSIGN(ScrollbarGeometryStub); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } | 52 } |
| 53 | 53 |
| 54 #endif // CC_SCROLLBAR_GEOMETRY_STUB_H_ | 54 #endif // CC_SCROLLBAR_GEOMETRY_STUB_H_ |
| OLD | NEW |