| 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 25 matching lines...) Expand all Loading... |
| 36 #include "CompositionUnderlineVectorBuilder.h" | 36 #include "CompositionUnderlineVectorBuilder.h" |
| 37 #include "ContextFeaturesClientImpl.h" | 37 #include "ContextFeaturesClientImpl.h" |
| 38 #include "DatabaseClientImpl.h" | 38 #include "DatabaseClientImpl.h" |
| 39 #include "FullscreenController.h" | 39 #include "FullscreenController.h" |
| 40 #include "GeolocationClientProxy.h" | 40 #include "GeolocationClientProxy.h" |
| 41 #include "GraphicsLayerFactoryChromium.h" | 41 #include "GraphicsLayerFactoryChromium.h" |
| 42 #include "HTMLNames.h" | 42 #include "HTMLNames.h" |
| 43 #include "LinkHighlight.h" | 43 #include "LinkHighlight.h" |
| 44 #include "LocalFileSystemClient.h" | 44 #include "LocalFileSystemClient.h" |
| 45 #include "MIDIClientProxy.h" | 45 #include "MIDIClientProxy.h" |
| 46 #include "PageWidgetDelegate.h" | |
| 47 #include "PinchViewports.h" | 46 #include "PinchViewports.h" |
| 48 #include "PopupContainer.h" | 47 #include "PopupContainer.h" |
| 49 #include "PrerendererClientImpl.h" | 48 #include "PrerendererClientImpl.h" |
| 50 #include "RuntimeEnabledFeatures.h" | 49 #include "RuntimeEnabledFeatures.h" |
| 51 #include "SharedWorkerRepositoryClientImpl.h" | 50 #include "SharedWorkerRepositoryClientImpl.h" |
| 52 #include "SpeechInputClientImpl.h" | 51 #include "SpeechInputClientImpl.h" |
| 53 #include "SpeechRecognitionClientProxy.h" | 52 #include "SpeechRecognitionClientProxy.h" |
| 54 #include "ValidationMessageClientImpl.h" | 53 #include "ValidationMessageClientImpl.h" |
| 55 #include "ViewportAnchor.h" | 54 #include "ViewportAnchor.h" |
| 56 #include "WebAXObject.h" | 55 #include "WebAXObject.h" |
| 57 #include "WebActiveWheelFlingParameters.h" | 56 #include "WebActiveWheelFlingParameters.h" |
| 58 #include "WebAutofillClient.h" | 57 #include "WebAutofillClient.h" |
| 59 #include "WebDevToolsAgentImpl.h" | 58 #include "WebDevToolsAgentImpl.h" |
| 60 #include "WebDevToolsAgentPrivate.h" | 59 #include "WebDevToolsAgentPrivate.h" |
| 61 #include "WebFrameImpl.h" | 60 #include "WebFrameImpl.h" |
| 62 #include "WebHelperPluginImpl.h" | 61 #include "WebHelperPluginImpl.h" |
| 63 #include "WebHitTestResult.h" | 62 #include "WebHitTestResult.h" |
| 64 #include "WebInputElement.h" | 63 #include "WebInputElement.h" |
| 65 #include "WebInputEvent.h" | |
| 66 #include "WebInputEventConversion.h" | 64 #include "WebInputEventConversion.h" |
| 67 #include "WebMediaPlayerAction.h" | 65 #include "WebMediaPlayerAction.h" |
| 68 #include "WebNode.h" | 66 #include "WebNode.h" |
| 69 #include "WebPagePopupImpl.h" | 67 #include "WebPagePopupImpl.h" |
| 70 #include "WebPlugin.h" | 68 #include "WebPlugin.h" |
| 71 #include "WebPluginAction.h" | 69 #include "WebPluginAction.h" |
| 72 #include "WebPluginContainerImpl.h" | 70 #include "WebPluginContainerImpl.h" |
| 73 #include "WebPopupMenuImpl.h" | 71 #include "WebPopupMenuImpl.h" |
| 74 #include "WebRange.h" | 72 #include "WebRange.h" |
| 75 #include "WebSettingsImpl.h" | 73 #include "WebSettingsImpl.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 #include "core/rendering/RenderView.h" | 127 #include "core/rendering/RenderView.h" |
| 130 #include "core/rendering/RenderWidget.h" | 128 #include "core/rendering/RenderWidget.h" |
| 131 #include "core/rendering/TextAutosizer.h" | 129 #include "core/rendering/TextAutosizer.h" |
| 132 #include "modules/geolocation/GeolocationController.h" | 130 #include "modules/geolocation/GeolocationController.h" |
| 133 #include "painting/ContinuousPainter.h" | 131 #include "painting/ContinuousPainter.h" |
| 134 #include "platform/NotImplemented.h" | 132 #include "platform/NotImplemented.h" |
| 135 #include "platform/PlatformGestureEvent.h" | 133 #include "platform/PlatformGestureEvent.h" |
| 136 #include "platform/PlatformKeyboardEvent.h" | 134 #include "platform/PlatformKeyboardEvent.h" |
| 137 #include "platform/PlatformMouseEvent.h" | 135 #include "platform/PlatformMouseEvent.h" |
| 138 #include "platform/PlatformWheelEvent.h" | 136 #include "platform/PlatformWheelEvent.h" |
| 139 #include "platform/Timer.h" | |
| 140 #include "platform/TraceEvent.h" | 137 #include "platform/TraceEvent.h" |
| 141 #include "platform/exported/WebActiveGestureAnimation.h" | 138 #include "platform/exported/WebActiveGestureAnimation.h" |
| 142 #include "platform/graphics/Color.h" | 139 #include "platform/graphics/Color.h" |
| 143 #include "public/platform/Platform.h" | 140 #include "public/platform/Platform.h" |
| 144 #include "public/platform/WebDragData.h" | 141 #include "public/platform/WebDragData.h" |
| 145 #include "public/platform/WebFloatPoint.h" | 142 #include "public/platform/WebFloatPoint.h" |
| 146 #include "public/platform/WebGestureCurve.h" | 143 #include "public/platform/WebGestureCurve.h" |
| 147 #include "public/platform/WebImage.h" | 144 #include "public/platform/WebImage.h" |
| 148 #include "public/platform/WebLayer.h" | |
| 149 #include "public/platform/WebLayerTreeView.h" | 145 #include "public/platform/WebLayerTreeView.h" |
| 150 #include "public/platform/WebPoint.h" | |
| 151 #include "public/platform/WebRect.h" | |
| 152 #include "public/platform/WebString.h" | |
| 153 #include "public/platform/WebVector.h" | 146 #include "public/platform/WebVector.h" |
| 154 #include "weborigin/SchemeRegistry.h" | 147 #include "weborigin/SchemeRegistry.h" |
| 155 #include "wtf/CurrentTime.h" | 148 #include "wtf/CurrentTime.h" |
| 156 #include "wtf/RefPtr.h" | 149 #include "wtf/RefPtr.h" |
| 157 #include "wtf/TemporaryChange.h" | 150 #include "wtf/TemporaryChange.h" |
| 158 | 151 |
| 159 #if USE(DEFAULT_RENDER_THEME) | 152 #if USE(DEFAULT_RENDER_THEME) |
| 160 #include "core/rendering/RenderThemeChromiumDefault.h" | 153 #include "core/rendering/RenderThemeChromiumDefault.h" |
| 161 #endif | 154 #endif |
| 162 | 155 |
| (...skipping 4024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4187 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); | 4180 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi
nedConstraints(); |
| 4188 | 4181 |
| 4189 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) | 4182 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) |
| 4190 return false; | 4183 return false; |
| 4191 | 4184 |
| 4192 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 4185 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
| 4193 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4186 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 4194 } | 4187 } |
| 4195 | 4188 |
| 4196 } // namespace blink | 4189 } // namespace blink |
| OLD | NEW |