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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 221 |
222 view->setLayoutSize(layoutSize); | 222 view->setLayoutSize(layoutSize); |
223 } | 223 } |
224 | 224 |
225 void WebFrameWidgetImpl::setIgnoreInputEvents(bool newValue) | 225 void WebFrameWidgetImpl::setIgnoreInputEvents(bool newValue) |
226 { | 226 { |
227 DCHECK_NE(m_ignoreInputEvents, newValue); | 227 DCHECK_NE(m_ignoreInputEvents, newValue); |
228 m_ignoreInputEvents = newValue; | 228 m_ignoreInputEvents = newValue; |
229 } | 229 } |
230 | 230 |
231 void WebFrameWidgetImpl::didEnterFullScreen() | 231 void WebFrameWidgetImpl::didEnterFullscreen() |
232 { | 232 { |
233 view()->didEnterFullScreen(); | 233 view()->didEnterFullscreen(); |
234 } | 234 } |
235 | 235 |
236 void WebFrameWidgetImpl::didExitFullScreen() | 236 void WebFrameWidgetImpl::didExitFullscreen() |
237 { | 237 { |
238 view()->didExitFullScreen(); | 238 view()->didExitFullscreen(); |
239 } | 239 } |
240 | 240 |
241 void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) | 241 void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) |
242 { | 242 { |
243 TRACE_EVENT1("blink", "WebFrameWidgetImpl::beginFrame", "frameTime", lastFra
meTimeMonotonic); | 243 TRACE_EVENT1("blink", "WebFrameWidgetImpl::beginFrame", "frameTime", lastFra
meTimeMonotonic); |
244 DCHECK(lastFrameTimeMonotonic); | 244 DCHECK(lastFrameTimeMonotonic); |
245 PageWidgetDelegate::animate(*page(), lastFrameTimeMonotonic); | 245 PageWidgetDelegate::animate(*page(), lastFrameTimeMonotonic); |
246 } | 246 } |
247 | 247 |
248 void WebFrameWidgetImpl::updateAllLifecyclePhases() | 248 void WebFrameWidgetImpl::updateAllLifecyclePhases() |
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 | 1118 |
1119 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) | 1119 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) |
1120 { | 1120 { |
1121 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); | 1121 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); |
1122 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); | 1122 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
1123 result.setToShadowHostIfInUserAgentShadowRoot(); | 1123 result.setToShadowHostIfInUserAgentShadowRoot(); |
1124 return result; | 1124 return result; |
1125 } | 1125 } |
1126 | 1126 |
1127 } // namespace blink | 1127 } // namespace blink |
OLD | NEW |