| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 } | 114 } |
| 115 | 115 |
| 116 WebFrameWidgetImpl::~WebFrameWidgetImpl() | 116 WebFrameWidgetImpl::~WebFrameWidgetImpl() |
| 117 { | 117 { |
| 118 } | 118 } |
| 119 | 119 |
| 120 DEFINE_TRACE(WebFrameWidgetImpl) | 120 DEFINE_TRACE(WebFrameWidgetImpl) |
| 121 { | 121 { |
| 122 visitor->trace(m_localRoot); | 122 visitor->trace(m_localRoot); |
| 123 visitor->trace(m_mouseCaptureNode); | 123 visitor->trace(m_mouseCaptureNode); |
| 124 visitor->trace(m_mutator); |
| 124 } | 125 } |
| 125 | 126 |
| 126 // WebWidget ------------------------------------------------------------------ | 127 // WebWidget ------------------------------------------------------------------ |
| 127 | 128 |
| 128 void WebFrameWidgetImpl::close() | 129 void WebFrameWidgetImpl::close() |
| 129 { | 130 { |
| 130 WebDevToolsAgentImpl::webFrameWidgetImplClosed(this); | 131 WebDevToolsAgentImpl::webFrameWidgetImplClosed(this); |
| 131 DCHECK(allInstances().contains(this)); | 132 DCHECK(allInstances().contains(this)); |
| 132 allInstances().remove(this); | 133 allInstances().remove(this); |
| 133 | 134 |
| (...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 | 1127 |
| 1127 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) | 1128 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) |
| 1128 { | 1129 { |
| 1129 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); | 1130 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); |
| 1130 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); | 1131 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
| 1131 result.setToShadowHostIfInUserAgentShadowRoot(); | 1132 result.setToShadowHostIfInUserAgentShadowRoot(); |
| 1132 return result; | 1133 return result; |
| 1133 } | 1134 } |
| 1134 | 1135 |
| 1135 } // namespace blink | 1136 } // namespace blink |
| OLD | NEW |