| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "public/platform/WebCompositorSupport.h" | 44 #include "public/platform/WebCompositorSupport.h" |
| 45 #include "public/platform/WebFloatAnimationCurve.h" | 45 #include "public/platform/WebFloatAnimationCurve.h" |
| 46 #include "public/platform/WebFloatPoint.h" | 46 #include "public/platform/WebFloatPoint.h" |
| 47 #include "public/platform/WebRect.h" | 47 #include "public/platform/WebRect.h" |
| 48 #include "public/platform/WebSize.h" | 48 #include "public/platform/WebSize.h" |
| 49 #include "public/web/WebKit.h" | 49 #include "public/web/WebKit.h" |
| 50 #include "web/WebLocalFrameImpl.h" | 50 #include "web/WebLocalFrameImpl.h" |
| 51 #include "web/WebViewImpl.h" | 51 #include "web/WebViewImpl.h" |
| 52 #include "wtf/CurrentTime.h" | 52 #include "wtf/CurrentTime.h" |
| 53 | 53 |
| 54 using namespace WebCore; | 54 using namespace blink; |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 | 57 |
| 58 class WebViewImpl; | 58 class WebViewImpl; |
| 59 | 59 |
| 60 PassOwnPtr<LinkHighlight> LinkHighlight::create(Node* node, WebViewImpl* owningW
ebViewImpl) | 60 PassOwnPtr<LinkHighlight> LinkHighlight::create(Node* node, WebViewImpl* owningW
ebViewImpl) |
| 61 { | 61 { |
| 62 return adoptPtr(new LinkHighlight(node, owningWebViewImpl)); | 62 return adoptPtr(new LinkHighlight(node, owningWebViewImpl)); |
| 63 } | 63 } |
| 64 | 64 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // Make sure we update geometry on the next callback from WebViewImpl::layou
t(). | 352 // Make sure we update geometry on the next callback from WebViewImpl::layou
t(). |
| 353 m_geometryNeedsUpdate = true; | 353 m_geometryNeedsUpdate = true; |
| 354 } | 354 } |
| 355 | 355 |
| 356 WebLayer* LinkHighlight::layer() | 356 WebLayer* LinkHighlight::layer() |
| 357 { | 357 { |
| 358 return clipLayer(); | 358 return clipLayer(); |
| 359 } | 359 } |
| 360 | 360 |
| 361 } // namespace WeKit | 361 } // namespace WeKit |
| OLD | NEW |