OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "core/rendering/RenderView.h" | 47 #include "core/rendering/RenderView.h" |
48 #include "core/rendering/compositing/RenderLayerCompositor.h" | 48 #include "core/rendering/compositing/RenderLayerCompositor.h" |
49 #include "core/rendering/style/KeyframeList.h" | 49 #include "core/rendering/style/KeyframeList.h" |
50 #include "platform/LengthFunctions.h" | 50 #include "platform/LengthFunctions.h" |
51 #include "platform/RuntimeEnabledFeatures.h" | 51 #include "platform/RuntimeEnabledFeatures.h" |
52 #include "platform/fonts/FontCache.h" | 52 #include "platform/fonts/FontCache.h" |
53 #include "platform/graphics/GraphicsContext.h" | 53 #include "platform/graphics/GraphicsContext.h" |
54 #include "wtf/CurrentTime.h" | 54 #include "wtf/CurrentTime.h" |
55 #include "wtf/text/StringBuilder.h" | 55 #include "wtf/text/StringBuilder.h" |
56 | 56 |
57 using namespace std; | |
58 | |
59 namespace WebCore { | 57 namespace WebCore { |
60 | 58 |
61 using namespace HTMLNames; | 59 using namespace HTMLNames; |
62 | 60 |
63 static IntRect clipBox(RenderBox* renderer); | 61 static IntRect clipBox(RenderBox* renderer); |
64 | 62 |
65 static IntRect contentsRect(const RenderObject* renderer) | 63 static IntRect contentsRect(const RenderObject* renderer) |
66 { | 64 { |
67 if (!renderer->isBox()) | 65 if (!renderer->isBox()) |
68 return IntRect(); | 66 return IntRect(); |
(...skipping 2168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2237 } else if (graphicsLayer == m_scrollingBlockSelectionLayer.get()) { | 2235 } else if (graphicsLayer == m_scrollingBlockSelectionLayer.get()) { |
2238 name = "Scrolling Block Selection Layer"; | 2236 name = "Scrolling Block Selection Layer"; |
2239 } else { | 2237 } else { |
2240 ASSERT_NOT_REACHED(); | 2238 ASSERT_NOT_REACHED(); |
2241 } | 2239 } |
2242 | 2240 |
2243 return name; | 2241 return name; |
2244 } | 2242 } |
2245 | 2243 |
2246 } // namespace WebCore | 2244 } // namespace WebCore |
OLD | NEW |