| 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 3451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3462 return true; | 3462 return true; |
| 3463 } | 3463 } |
| 3464 | 3464 |
| 3465 void WebViewImpl::setInspectorSetting(const WebString& key, | 3465 void WebViewImpl::setInspectorSetting(const WebString& key, |
| 3466 const WebString& value) | 3466 const WebString& value) |
| 3467 { | 3467 { |
| 3468 m_inspectorSettingsMap->set(key, value); | 3468 m_inspectorSettingsMap->set(key, value); |
| 3469 client()->didUpdateInspectorSetting(key, value); | 3469 client()->didUpdateInspectorSetting(key, value); |
| 3470 } | 3470 } |
| 3471 | 3471 |
| 3472 void WebViewImpl::setCompositorDeviceScaleFactorOverride(float deviceScaleFactor
) |
| 3473 { |
| 3474 } |
| 3475 |
| 3476 void WebViewImpl::setRootLayerScaleTransform(float rootLayerScale) |
| 3477 { |
| 3478 } |
| 3479 |
| 3472 WebDevToolsAgent* WebViewImpl::devToolsAgent() | 3480 WebDevToolsAgent* WebViewImpl::devToolsAgent() |
| 3473 { | 3481 { |
| 3474 return m_devToolsAgent.get(); | 3482 return m_devToolsAgent.get(); |
| 3475 } | 3483 } |
| 3476 | 3484 |
| 3477 WebAXObject WebViewImpl::accessibilityObject() | 3485 WebAXObject WebViewImpl::accessibilityObject() |
| 3478 { | 3486 { |
| 3479 if (!mainFrameImpl()) | 3487 if (!mainFrameImpl()) |
| 3480 return WebAXObject(); | 3488 return WebAXObject(); |
| 3481 | 3489 |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4184 // the initial viewport width. | 4192 // the initial viewport width. |
| 4185 // 2. The author has disabled viewport zoom. | 4193 // 2. The author has disabled viewport zoom. |
| 4186 | 4194 |
| 4187 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 4195 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
| 4188 | 4196 |
| 4189 return fixedLayoutSize().width == m_size.width | 4197 return fixedLayoutSize().width == m_size.width |
| 4190 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4198 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 4191 } | 4199 } |
| 4192 | 4200 |
| 4193 } // namespace WebKit | 4201 } // namespace WebKit |
| OLD | NEW |