| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 3609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3620 case WebPluginAction::Rotate90Counterclockwise: | 3620 case WebPluginAction::Rotate90Counterclockwise: |
| 3621 plugin->plugin()->rotateView(WebPlugin::RotationType90Counterclo
ckwise); | 3621 plugin->plugin()->rotateView(WebPlugin::RotationType90Counterclo
ckwise); |
| 3622 break; | 3622 break; |
| 3623 default: | 3623 default: |
| 3624 NOTREACHED(); | 3624 NOTREACHED(); |
| 3625 } | 3625 } |
| 3626 } | 3626 } |
| 3627 } | 3627 } |
| 3628 } | 3628 } |
| 3629 | 3629 |
| 3630 void WebViewImpl::audioStateChanged(bool isAudioPlaying) |
| 3631 { |
| 3632 m_scheduler->audioStateChanged(isAudioPlaying); |
| 3633 } |
| 3634 |
| 3630 WebHitTestResult WebViewImpl::hitTestResultAt(const WebPoint& point) | 3635 WebHitTestResult WebViewImpl::hitTestResultAt(const WebPoint& point) |
| 3631 { | 3636 { |
| 3632 return coreHitTestResultAt(point); | 3637 return coreHitTestResultAt(point); |
| 3633 } | 3638 } |
| 3634 | 3639 |
| 3635 HitTestResult WebViewImpl::coreHitTestResultAt(const WebPoint& pointInViewport) | 3640 HitTestResult WebViewImpl::coreHitTestResultAt(const WebPoint& pointInViewport) |
| 3636 { | 3641 { |
| 3637 DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->fra
me()->document()->lifecycle()); | 3642 DocumentLifecycle::AllowThrottlingScope throttlingScope(mainFrameImpl()->fra
me()->document()->lifecycle()); |
| 3638 FrameView* view = mainFrameImpl()->frameView(); | 3643 FrameView* view = mainFrameImpl()->frameView(); |
| 3639 IntPoint pointInRootFrame = view->contentsToFrame(view->viewportToContents(p
ointInViewport)); | 3644 IntPoint pointInRootFrame = view->contentsToFrame(view->viewportToContents(p
ointInViewport)); |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4592 return nullptr; | 4597 return nullptr; |
| 4593 return focusedFrame; | 4598 return focusedFrame; |
| 4594 } | 4599 } |
| 4595 | 4600 |
| 4596 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const | 4601 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const |
| 4597 { | 4602 { |
| 4598 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4603 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
| 4599 } | 4604 } |
| 4600 | 4605 |
| 4601 } // namespace blink | 4606 } // namespace blink |
| OLD | NEW |