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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #include "public/web/WebRange.h" | 125 #include "public/web/WebRange.h" |
126 #include "public/web/WebTextInputInfo.h" | 126 #include "public/web/WebTextInputInfo.h" |
127 #include "public/web/WebViewClient.h" | 127 #include "public/web/WebViewClient.h" |
128 #include "public/web/WebWindowFeatures.h" | 128 #include "public/web/WebWindowFeatures.h" |
129 #include "web/CompositionUnderlineVectorBuilder.h" | 129 #include "web/CompositionUnderlineVectorBuilder.h" |
130 #include "web/ContextFeaturesClientImpl.h" | 130 #include "web/ContextFeaturesClientImpl.h" |
131 #include "web/DatabaseClientImpl.h" | 131 #include "web/DatabaseClientImpl.h" |
132 #include "web/FullscreenController.h" | 132 #include "web/FullscreenController.h" |
133 #include "web/GraphicsLayerFactoryChromium.h" | 133 #include "web/GraphicsLayerFactoryChromium.h" |
134 #include "web/LinkHighlight.h" | 134 #include "web/LinkHighlight.h" |
| 135 #include "web/NavigatorContentUtilsClientImpl.h" |
135 #include "web/PopupContainer.h" | 136 #include "web/PopupContainer.h" |
136 #include "web/PrerendererClientImpl.h" | 137 #include "web/PrerendererClientImpl.h" |
137 #include "web/SpeechRecognitionClientProxy.h" | 138 #include "web/SpeechRecognitionClientProxy.h" |
138 #include "web/StorageQuotaClientImpl.h" | 139 #include "web/StorageQuotaClientImpl.h" |
139 #include "web/ValidationMessageClientImpl.h" | 140 #include "web/ValidationMessageClientImpl.h" |
140 #include "web/ViewportAnchor.h" | 141 #include "web/ViewportAnchor.h" |
141 #include "web/WebDevToolsAgentImpl.h" | 142 #include "web/WebDevToolsAgentImpl.h" |
142 #include "web/WebDevToolsAgentPrivate.h" | 143 #include "web/WebDevToolsAgentPrivate.h" |
143 #include "web/WebInputEventConversion.h" | 144 #include "web/WebInputEventConversion.h" |
144 #include "web/WebLocalFrameImpl.h" | 145 #include "web/WebLocalFrameImpl.h" |
(...skipping 3992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4137 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 4138 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
4138 | 4139 |
4139 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) | 4140 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) |
4140 return false; | 4141 return false; |
4141 | 4142 |
4142 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 4143 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
4143 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4144 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
4144 } | 4145 } |
4145 | 4146 |
4146 } // namespace blink | 4147 } // namespace blink |
OLD | NEW |