OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 } | 617 } |
618 | 618 |
619 void ChromeClientImpl::MainFrameScrollOffsetChanged() const { | 619 void ChromeClientImpl::MainFrameScrollOffsetChanged() const { |
620 web_view_->MainFrameScrollOffsetChanged(); | 620 web_view_->MainFrameScrollOffsetChanged(); |
621 } | 621 } |
622 | 622 |
623 float ChromeClientImpl::ClampPageScaleFactorToLimits(float scale) const { | 623 float ChromeClientImpl::ClampPageScaleFactorToLimits(float scale) const { |
624 return web_view_->ClampPageScaleFactorToLimits(scale); | 624 return web_view_->ClampPageScaleFactorToLimits(scale); |
625 } | 625 } |
626 | 626 |
| 627 void ChromeClientImpl::ResizeAfterLayout(LocalFrame* frame) const { |
| 628 web_view_->ResizeAfterLayout(WebLocalFrameImpl::FromFrame(frame)); |
| 629 } |
| 630 |
627 void ChromeClientImpl::LayoutUpdated(LocalFrame* frame) const { | 631 void ChromeClientImpl::LayoutUpdated(LocalFrame* frame) const { |
628 web_view_->LayoutUpdated(WebLocalFrameImpl::FromFrame(frame)); | 632 web_view_->LayoutUpdated(WebLocalFrameImpl::FromFrame(frame)); |
629 } | 633 } |
630 | 634 |
631 void ChromeClientImpl::ShowMouseOverURL(const HitTestResult& result) { | 635 void ChromeClientImpl::ShowMouseOverURL(const HitTestResult& result) { |
632 if (!web_view_->Client()) | 636 if (!web_view_->Client()) |
633 return; | 637 return; |
634 | 638 |
635 WebURL url; | 639 WebURL url; |
636 | 640 |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 if (RuntimeEnabledFeatures::presentationEnabled()) | 1239 if (RuntimeEnabledFeatures::presentationEnabled()) |
1236 PresentationController::ProvideTo(frame, client->PresentationClient()); | 1240 PresentationController::ProvideTo(frame, client->PresentationClient()); |
1237 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1241 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
1238 ProvideAudioOutputDeviceClientTo(frame, | 1242 ProvideAudioOutputDeviceClientTo(frame, |
1239 new AudioOutputDeviceClientImpl(frame)); | 1243 new AudioOutputDeviceClientImpl(frame)); |
1240 } | 1244 } |
1241 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); | 1245 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); |
1242 } | 1246 } |
1243 | 1247 |
1244 } // namespace blink | 1248 } // namespace blink |
OLD | NEW |