Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 765203002: Remove PlatformMouseEvent::m_modifierFlags member. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698