OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 void ChromeClientImpl::deviceOrPageScaleFactorChanged() const | 522 void ChromeClientImpl::deviceOrPageScaleFactorChanged() const |
523 { | 523 { |
524 m_webView->deviceOrPageScaleFactorChanged(); | 524 m_webView->deviceOrPageScaleFactorChanged(); |
525 } | 525 } |
526 | 526 |
527 void ChromeClientImpl::layoutUpdated(LocalFrame* frame) const | 527 void ChromeClientImpl::layoutUpdated(LocalFrame* frame) const |
528 { | 528 { |
529 m_webView->layoutUpdated(WebLocalFrameImpl::fromFrame(frame)); | 529 m_webView->layoutUpdated(WebLocalFrameImpl::fromFrame(frame)); |
530 } | 530 } |
531 | 531 |
532 void ChromeClientImpl::mouseDidMoveOverElement( | 532 void ChromeClientImpl::mouseDidMoveOverElement(const HitTestResult& result) |
533 const HitTestResult& result, unsigned modifierFlags) | |
534 { | 533 { |
535 if (!m_webView->client()) | 534 if (!m_webView->client()) |
536 return; | 535 return; |
537 | 536 |
538 WebURL url; | 537 WebURL url; |
539 // Find out if the mouse is over a link, and if so, let our UI know... | 538 // Find out if the mouse is over a link, and if so, let our UI know... |
540 if (result.isLiveLink() && !result.absoluteLinkURL().string().isEmpty()) { | 539 if (result.isLiveLink() && !result.absoluteLinkURL().string().isEmpty()) { |
541 url = result.absoluteLinkURL(); | 540 url = result.absoluteLinkURL(); |
542 } else if (result.innerNonSharedNode() | 541 } else if (result.innerNonSharedNode() |
543 && (isHTMLObjectElement(*result.innerNonSharedNode()) | 542 && (isHTMLObjectElement(*result.innerNonSharedNode()) |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 } | 873 } |
875 | 874 |
876 void ChromeClientImpl::textFieldDataListChanged(HTMLFormControlElement& element) | 875 void ChromeClientImpl::textFieldDataListChanged(HTMLFormControlElement& element) |
877 { | 876 { |
878 if (!m_webView->autofillClient()) | 877 if (!m_webView->autofillClient()) |
879 return; | 878 return; |
880 m_webView->autofillClient()->textFieldDidChange(WebFormControlElement(&eleme
nt)); | 879 m_webView->autofillClient()->textFieldDidChange(WebFormControlElement(&eleme
nt)); |
881 } | 880 } |
882 | 881 |
883 } // namespace blink | 882 } // namespace blink |
OLD | NEW |