| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 m_layerTreeView->setMutatorClient(std::move(mutatorClient)); | 410 m_layerTreeView->setMutatorClient(std::move(mutatorClient)); |
| 411 } | 411 } |
| 412 return new CompositorProxyClientImpl(m_mutator); | 412 return new CompositorProxyClientImpl(m_mutator); |
| 413 } | 413 } |
| 414 | 414 |
| 415 void WebFrameWidgetImpl::applyViewportDeltas( | 415 void WebFrameWidgetImpl::applyViewportDeltas( |
| 416 const WebFloatSize& visualViewportDelta, | 416 const WebFloatSize& visualViewportDelta, |
| 417 const WebFloatSize& mainFrameDelta, | 417 const WebFloatSize& mainFrameDelta, |
| 418 const WebFloatSize& elasticOverscrollDelta, | 418 const WebFloatSize& elasticOverscrollDelta, |
| 419 float pageScaleDelta, | 419 float pageScaleDelta, |
| 420 float topControlsDelta) { | 420 float browserControlsDelta) { |
| 421 // FIXME: To be implemented. | 421 // FIXME: To be implemented. |
| 422 } | 422 } |
| 423 | 423 |
| 424 void WebFrameWidgetImpl::mouseCaptureLost() { | 424 void WebFrameWidgetImpl::mouseCaptureLost() { |
| 425 TRACE_EVENT_ASYNC_END0("input", "capturing mouse", this); | 425 TRACE_EVENT_ASYNC_END0("input", "capturing mouse", this); |
| 426 m_mouseCaptureNode = nullptr; | 426 m_mouseCaptureNode = nullptr; |
| 427 } | 427 } |
| 428 | 428 |
| 429 void WebFrameWidgetImpl::setFocus(bool enable) { | 429 void WebFrameWidgetImpl::setFocus(bool enable) { |
| 430 page()->focusController().setFocused(enable); | 430 page()->focusController().setFocused(enable); |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 return nullptr; | 1326 return nullptr; |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { | 1329 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { |
| 1330 if (!m_imeAcceptEvents) | 1330 if (!m_imeAcceptEvents) |
| 1331 return nullptr; | 1331 return nullptr; |
| 1332 return focusedLocalFrameInWidget(); | 1332 return focusedLocalFrameInWidget(); |
| 1333 } | 1333 } |
| 1334 | 1334 |
| 1335 } // namespace blink | 1335 } // namespace blink |
| OLD | NEW |