| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "core/page/InjectedStyleSheets.h" | 78 #include "core/page/InjectedStyleSheets.h" |
| 79 #include "core/page/Page.h" | 79 #include "core/page/Page.h" |
| 80 #include "core/page/PagePopupClient.h" | 80 #include "core/page/PagePopupClient.h" |
| 81 #include "core/page/PointerLockController.h" | 81 #include "core/page/PointerLockController.h" |
| 82 #include "core/page/ScopedPageLoadDeferrer.h" | 82 #include "core/page/ScopedPageLoadDeferrer.h" |
| 83 #include "core/page/TouchDisambiguation.h" | 83 #include "core/page/TouchDisambiguation.h" |
| 84 #include "core/rendering/RenderPart.h" | 84 #include "core/rendering/RenderPart.h" |
| 85 #include "core/rendering/RenderView.h" | 85 #include "core/rendering/RenderView.h" |
| 86 #include "core/rendering/TextAutosizer.h" | 86 #include "core/rendering/TextAutosizer.h" |
| 87 #include "core/rendering/compositing/RenderLayerCompositor.h" | 87 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 88 #include "modules/accessibility/AXObject.h" |
| 88 #include "modules/credentialmanager/CredentialManagerClient.h" | 89 #include "modules/credentialmanager/CredentialManagerClient.h" |
| 89 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" | 90 #include "modules/device_orientation/DeviceOrientationInspectorAgent.h" |
| 90 #include "modules/encryptedmedia/MediaKeysController.h" | 91 #include "modules/encryptedmedia/MediaKeysController.h" |
| 91 #include "modules/filesystem/InspectorFileSystemAgent.h" | 92 #include "modules/filesystem/InspectorFileSystemAgent.h" |
| 92 #include "modules/indexeddb/InspectorIndexedDBAgent.h" | 93 #include "modules/indexeddb/InspectorIndexedDBAgent.h" |
| 93 #include "modules/push_messaging/PushController.h" | 94 #include "modules/push_messaging/PushController.h" |
| 94 #include "platform/ContextMenu.h" | 95 #include "platform/ContextMenu.h" |
| 95 #include "platform/ContextMenuItem.h" | 96 #include "platform/ContextMenuItem.h" |
| 96 #include "platform/Cursor.h" | 97 #include "platform/Cursor.h" |
| 97 #include "platform/KeyboardCodes.h" | 98 #include "platform/KeyboardCodes.h" |
| (...skipping 4378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4476 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 4477 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
| 4477 | 4478 |
| 4478 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) | 4479 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) |
| 4479 return false; | 4480 return false; |
| 4480 | 4481 |
| 4481 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 4482 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
| 4482 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4483 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 4483 } | 4484 } |
| 4484 | 4485 |
| 4485 } // namespace blink | 4486 } // namespace blink |
| OLD | NEW |