OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "ScrollbarThemeComposite.h" | 44 #include "ScrollbarThemeComposite.h" |
45 #include "WebScrollbarImpl.h" | 45 #include "WebScrollbarImpl.h" |
46 #include "WebScrollbarThemeGeometryNative.h" | 46 #include "WebScrollbarThemeGeometryNative.h" |
47 #include <public/Platform.h> | 47 #include <public/Platform.h> |
48 #include <public/WebCompositorSupport.h> | 48 #include <public/WebCompositorSupport.h> |
49 #include <public/WebLayerPositionConstraint.h> | 49 #include <public/WebLayerPositionConstraint.h> |
50 #include <public/WebScrollbar.h> | 50 #include <public/WebScrollbar.h> |
51 #include <public/WebScrollbarLayer.h> | 51 #include <public/WebScrollbarLayer.h> |
52 #include <public/WebScrollbarThemeGeometry.h> | 52 #include <public/WebScrollbarThemeGeometry.h> |
53 #include <public/WebScrollbarThemePainter.h> | 53 #include <public/WebScrollbarThemePainter.h> |
| 54 #include <wtf/text/StringBuilder.h> |
54 | 55 |
55 using WebKit::WebLayer; | 56 using WebKit::WebLayer; |
56 using WebKit::WebLayerPositionConstraint; | 57 using WebKit::WebLayerPositionConstraint; |
57 using WebKit::WebRect; | 58 using WebKit::WebRect; |
58 using WebKit::WebScrollbarLayer; | 59 using WebKit::WebScrollbarLayer; |
59 using WebKit::WebVector; | 60 using WebKit::WebVector; |
60 | 61 |
61 | 62 |
62 namespace WebCore { | 63 namespace WebCore { |
63 | 64 |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 stringBuilder.resize(stringBuilder.length() - 2); | 620 stringBuilder.resize(stringBuilder.length() - 2); |
620 return stringBuilder.toString(); | 621 return stringBuilder.toString(); |
621 } | 622 } |
622 | 623 |
623 String ScrollingCoordinator::mainThreadScrollingReasonsAsText() const | 624 String ScrollingCoordinator::mainThreadScrollingReasonsAsText() const |
624 { | 625 { |
625 return mainThreadScrollingReasonsAsText(mainThreadScrollingReasons()); | 626 return mainThreadScrollingReasonsAsText(mainThreadScrollingReasons()); |
626 } | 627 } |
627 | 628 |
628 } // namespace WebCore | 629 } // namespace WebCore |
OLD | NEW |