| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 219 |
| 220 | 220 |
| 221 void WebFrameWidgetImpl::didEnterFullscreen() { | 221 void WebFrameWidgetImpl::didEnterFullscreen() { |
| 222 view()->didEnterFullscreen(); | 222 view()->didEnterFullscreen(); |
| 223 } | 223 } |
| 224 | 224 |
| 225 void WebFrameWidgetImpl::didExitFullscreen() { | 225 void WebFrameWidgetImpl::didExitFullscreen() { |
| 226 view()->didExitFullscreen(); | 226 view()->didExitFullscreen(); |
| 227 } | 227 } |
| 228 | 228 |
| 229 void WebFrameWidgetImpl::setSuppressFrameRequestsWorkaroundFor704763Only( |
| 230 bool suppressFrameRequests) { |
| 231 page()->animator().setSuppressFrameRequestsWorkaroundFor704763Only( |
| 232 suppressFrameRequests); |
| 233 } |
| 229 void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) { | 234 void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) { |
| 230 TRACE_EVENT1("blink", "WebFrameWidgetImpl::beginFrame", "frameTime", | 235 TRACE_EVENT1("blink", "WebFrameWidgetImpl::beginFrame", "frameTime", |
| 231 lastFrameTimeMonotonic); | 236 lastFrameTimeMonotonic); |
| 232 DCHECK(lastFrameTimeMonotonic); | 237 DCHECK(lastFrameTimeMonotonic); |
| 233 PageWidgetDelegate::animate(*page(), lastFrameTimeMonotonic); | 238 PageWidgetDelegate::animate(*page(), lastFrameTimeMonotonic); |
| 234 } | 239 } |
| 235 | 240 |
| 236 void WebFrameWidgetImpl::updateAllLifecyclePhases() { | 241 void WebFrameWidgetImpl::updateAllLifecyclePhases() { |
| 237 TRACE_EVENT0("blink", "WebFrameWidgetImpl::updateAllLifecyclePhases"); | 242 TRACE_EVENT0("blink", "WebFrameWidgetImpl::updateAllLifecyclePhases"); |
| 238 if (!m_localRoot) | 243 if (!m_localRoot) |
| (...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 return nullptr; | 1143 return nullptr; |
| 1139 } | 1144 } |
| 1140 | 1145 |
| 1141 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { | 1146 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { |
| 1142 if (!m_imeAcceptEvents) | 1147 if (!m_imeAcceptEvents) |
| 1143 return nullptr; | 1148 return nullptr; |
| 1144 return focusedLocalFrameInWidget(); | 1149 return focusedLocalFrameInWidget(); |
| 1145 } | 1150 } |
| 1146 | 1151 |
| 1147 } // namespace blink | 1152 } // namespace blink |
| OLD | NEW |