| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 #include "platform/Cursor.h" | 130 #include "platform/Cursor.h" |
| 131 #include "platform/Language.h" | 131 #include "platform/Language.h" |
| 132 #include "platform/LayoutLocale.h" | 132 #include "platform/LayoutLocale.h" |
| 133 #include "platform/PlatformKeyboardEvent.h" | 133 #include "platform/PlatformKeyboardEvent.h" |
| 134 #include "platform/RuntimeEnabledFeatures.h" | 134 #include "platform/RuntimeEnabledFeatures.h" |
| 135 #include "platform/TraceEvent.h" | 135 #include "platform/TraceEvent.h" |
| 136 #include "platform/geometry/IntRect.h" | 136 #include "platform/geometry/IntRect.h" |
| 137 #include "platform/geometry/LayoutRect.h" | 137 #include "platform/geometry/LayoutRect.h" |
| 138 #include "platform/graphics/GraphicsLayer.h" | 138 #include "platform/graphics/GraphicsLayer.h" |
| 139 #include "platform/heap/Handle.h" | 139 #include "platform/heap/Handle.h" |
| 140 #include "platform/inspector_protocol/FrontendChannel.h" | |
| 141 #include "platform/scroll/ProgrammaticScrollAnimator.h" | 140 #include "platform/scroll/ProgrammaticScrollAnimator.h" |
| 142 #include "platform/weborigin/SchemeRegistry.h" | 141 #include "platform/weborigin/SchemeRegistry.h" |
| 143 #include "public/platform/Platform.h" | 142 #include "public/platform/Platform.h" |
| 144 #include "public/platform/WebConnectionType.h" | 143 #include "public/platform/WebConnectionType.h" |
| 145 #include "public/platform/WebGraphicsContext3DProvider.h" | 144 #include "public/platform/WebGraphicsContext3DProvider.h" |
| 146 #include "public/platform/WebLayer.h" | 145 #include "public/platform/WebLayer.h" |
| 147 #include "wtf/InstanceCounter.h" | 146 #include "wtf/InstanceCounter.h" |
| 148 #include "wtf/PtrUtil.h" | 147 #include "wtf/PtrUtil.h" |
| 149 #include "wtf/dtoa.h" | 148 #include "wtf/dtoa.h" |
| 150 #include "wtf/text/StringBuffer.h" | 149 #include "wtf/text/StringBuffer.h" |
| (...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2620 | 2619 |
| 2621 ClientRect* Internals::visualRect(Node* node) | 2620 ClientRect* Internals::visualRect(Node* node) |
| 2622 { | 2621 { |
| 2623 if (!node || !node->layoutObject()) | 2622 if (!node || !node->layoutObject()) |
| 2624 return ClientRect::create(); | 2623 return ClientRect::create(); |
| 2625 | 2624 |
| 2626 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 2625 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); |
| 2627 } | 2626 } |
| 2628 | 2627 |
| 2629 } // namespace blink | 2628 } // namespace blink |
| OLD | NEW |