| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #include "WebPluginAction.h" | 69 #include "WebPluginAction.h" |
| 70 #include "WebPluginContainerImpl.h" | 70 #include "WebPluginContainerImpl.h" |
| 71 #include "WebPopupMenuImpl.h" | 71 #include "WebPopupMenuImpl.h" |
| 72 #include "WebRange.h" | 72 #include "WebRange.h" |
| 73 #include "WebSettingsImpl.h" | 73 #include "WebSettingsImpl.h" |
| 74 #include "WebTextInputInfo.h" | 74 #include "WebTextInputInfo.h" |
| 75 #include "WebViewClient.h" | 75 #include "WebViewClient.h" |
| 76 #include "WebWindowFeatures.h" | 76 #include "WebWindowFeatures.h" |
| 77 #include "WorkerGlobalScopeProxyProviderImpl.h" | 77 #include "WorkerGlobalScopeProxyProviderImpl.h" |
| 78 #include "core/accessibility/AXObjectCache.h" | 78 #include "core/accessibility/AXObjectCache.h" |
| 79 #include "core/dom/DataObject.h" | 79 #include "core/clipboard/DataObject.h" |
| 80 #include "core/dom/Document.h" | 80 #include "core/dom/Document.h" |
| 81 #include "core/dom/DocumentMarkerController.h" | 81 #include "core/dom/DocumentMarkerController.h" |
| 82 #include "core/dom/Text.h" | 82 #include "core/dom/Text.h" |
| 83 #include "core/dom/WheelController.h" | 83 #include "core/dom/WheelController.h" |
| 84 #include "core/editing/Editor.h" | 84 #include "core/editing/Editor.h" |
| 85 #include "core/editing/FrameSelection.h" | 85 #include "core/editing/FrameSelection.h" |
| 86 #include "core/editing/InputMethodController.h" | 86 #include "core/editing/InputMethodController.h" |
| 87 #include "core/editing/TextIterator.h" | 87 #include "core/editing/TextIterator.h" |
| 88 #include "core/events/KeyboardEvent.h" | 88 #include "core/events/KeyboardEvent.h" |
| 89 #include "core/events/WheelEvent.h" | 89 #include "core/events/WheelEvent.h" |
| (...skipping 3891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3981 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 3981 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
| 3982 | 3982 |
| 3983 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) | 3983 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) |
| 3984 return false; | 3984 return false; |
| 3985 | 3985 |
| 3986 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 3986 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
| 3987 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 3987 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 3988 } | 3988 } |
| 3989 | 3989 |
| 3990 } // namespace blink | 3990 } // namespace blink |
| OLD | NEW |