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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/WebSettingsImpl.h" | 51 #include "web/WebSettingsImpl.h" |
52 #include "web/WebViewImpl.h" | 52 #include "web/WebViewImpl.h" |
53 #include "wtf/CurrentTime.h" | 53 #include "wtf/CurrentTime.h" |
54 | 54 |
55 using namespace blink; | |
56 | |
57 namespace blink { | 55 namespace blink { |
58 | 56 |
59 class WebViewImpl; | 57 class WebViewImpl; |
60 | 58 |
61 PassOwnPtr<LinkHighlight> LinkHighlight::create(Node* node, WebViewImpl* owningW
ebViewImpl) | 59 PassOwnPtr<LinkHighlight> LinkHighlight::create(Node* node, WebViewImpl* owningW
ebViewImpl) |
62 { | 60 { |
63 return adoptPtr(new LinkHighlight(node, owningWebViewImpl)); | 61 return adoptPtr(new LinkHighlight(node, owningWebViewImpl)); |
64 } | 62 } |
65 | 63 |
66 LinkHighlight::LinkHighlight(Node* node, WebViewImpl* owningWebViewImpl) | 64 LinkHighlight::LinkHighlight(Node* node, WebViewImpl* owningWebViewImpl) |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 { | 351 { |
354 // 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(). |
355 m_geometryNeedsUpdate = true; | 353 m_geometryNeedsUpdate = true; |
356 } | 354 } |
357 | 355 |
358 WebLayer* LinkHighlight::layer() | 356 WebLayer* LinkHighlight::layer() |
359 { | 357 { |
360 return clipLayer(); | 358 return clipLayer(); |
361 } | 359 } |
362 | 360 |
363 } // namespace WeKit | 361 } // namespace blink |
OLD | NEW |